Messages in this thread | | | From | David Ahern <> | Subject | [PATCH 0/3] perf tool: basename cleanups | Date | Sat, 8 Sep 2012 09:06:49 -0600 |
| |
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
| |