[PATCH 0/3] perf tool: basename cleanups

From: David Ahern
Date: Sat Sep 08 2012 - 11:07:04 EST


basename can modify strings passed to it, so the strings should not
be marked const. Clean up the offenders and remove the BIONIC wrapper
for libgen.h

Irina: Would you verify perf still compiles cleanly for Android. Thanks.

David Ahern (3):
perf annotate: make a copy of filename for passing to basename
perf probe: make a copy of exec path for passing to basename
perf tool: remove BIONIC wrapper around libgen.h

tools/perf/util/annotate.c | 9 ++++++++-
tools/perf/util/probe-event.c | 12 ++++++++++--
tools/perf/util/symbol.h | 2 --
3 files changed, 18 insertions(+), 5 deletions(-)

--
1.7.10.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/