[PATCH 7/9] perf annotate: Make a copy of filename for passing to basename

2012-09-08 Thread Arnaldo Carvalho de Melo
From: David Ahern The basename function may modify the string passed to it, so the string should not be marked const. Signed-off-by: David Ahern Acked-by: Pekka Enberg Cc: Irina Tirdea Cc: Pekka Enberg Link: http://lkml.kernel.org/r/1347116812-93646-2-git-send-email-dsah...@gmail.com

[PATCH 7/9] perf annotate: Make a copy of filename for passing to basename

2012-09-08 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com The basename function may modify the string passed to it, so the string should not be marked const. Signed-off-by: David Ahern dsah...@gmail.com Acked-by: Pekka Enberg penb...@kernel.org Cc: Irina Tirdea irina.tir...@gmail.com Cc: Pekka Enberg