Skip to content

perf tool: basename cleanups

David Ahern lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf annotate: make a copy of filename for passing to basenametools/perf/util/annotate.c+8 -11 reply
2/3perf probe: make a copy of exec path for passing to basenametools/perf/util/probe-event.c+10 -21 reply
3/3perf tool: remove BIONIC wrapper around libgen.htools/perf/util/symbol.h+0 -21 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPekka Enberg
SeriesA-b
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] perf tool: basename cleanups

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(-)
Signature · 1 line
1.7.10.1