public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] perf tool: basename cleanups
@ 2012-09-08 15:06 David Ahern
  2012-09-08 15:06 ` [PATCH 1/3] perf annotate: make a copy of filename for passing to basename David Ahern
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: David Ahern @ 2012-09-08 15:06 UTC (permalink / raw)
  To: acme, linux-kernel; +Cc: irina.tirdea, David Ahern

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-09  9:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 15:06 [PATCH 0/3] perf tool: basename cleanups David Ahern
2012-09-08 15:06 ` [PATCH 1/3] perf annotate: make a copy of filename for passing to basename David Ahern
2012-09-09  8:59   ` [tip:perf/core] perf annotate: Make " tip-bot for David Ahern
2012-09-08 15:06 ` [PATCH 2/3] perf probe: make a copy of exec path " David Ahern
2012-09-09  9:00   ` [tip:perf/core] perf probe: Make " tip-bot for David Ahern
2012-09-08 15:06 ` [PATCH 3/3] perf tool: remove BIONIC wrapper around libgen.h David Ahern
2012-09-09  9:01   ` [tip:perf/core] perf symbols: Remove BIONIC wrapper around libgen. h tip-bot for David Ahern
2012-09-08 16:24 ` [PATCH 0/3] perf tool: basename cleanups Pekka Enberg
2012-09-08 22:25 ` Irina Tirdea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox