Skip to content

perf-probe: Improve probing on versioned symbols

Masami Hiramatsu linux-perf-users linux-rt-users lkml 3 versions – In review

Get series with b4
b4 am 151275037752.24652.5169845651138876257.stgit@devbox

Versions newest first · linked by author and title

  1. v3 Latest5 patches 3 repliesIn review
  2. v25 patches 21 repliesSuperseded
  3. v15 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf-probe: Add warning message if there is unexpected event nametools/perf/util/probe-event.c+8 -00 replies
2/5perf-probe: Cut off the version suffix from event nametools/perf/util/probe-event.c+2 -20 replies
3/5perf-probe: Add __return suffix for return eventstools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c+6 -50 replies
4/5perf-probe: Find versioned symbols from maptools/perf/arch/powerpc/util/sym-handling.c tools/perf/util/probe-event.c tools/perf/util/symbol.c +1 more+32 -20 replies
5/5perf-probe: Support escaped character in parsertools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c tools/perf/util/string.c +1 more+98 -233 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRavi BangoriaThomas Richter
1/5A-b
2/5A-b
3/5A-b
4/5A-b R-b
5/5A-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/5] perf-probe: Improve probing on versioned symbols

Hi,

Here is the 3rd version of the series for probing on versioned symbols in libraries. This includes 5 patches to fix the issues discussed on perf-users ML
(https://www.spinics.net/lists/linux-perf-users/msg04637.html)

The first version (and detail note) is here;
https://lkml.org/lkml/2017/12/5/1124

Here is the updates;

[1/5] Update error message. Arnaldo, I dropped the latter
half from error message because it doesn't try to write the name to the kprobe_events interface.
[4/5] Fix 2 bugs (Thanks Thomas-Mich Richter!) [5/5] Update according to previous patch.

Thank you,
---

Masami Hiramatsu (5):
perf-probe: Add warning message if there is unexpected event name
perf-probe: Cut off the version suffix from event name
perf-probe: Add __return suffix for return events
perf-probe: Find versioned symbols from map
perf-probe: Support escaped character in parser

 tools/perf/Documentation/perf-probe.txt     |   18 +++++-
 tools/perf/arch/powerpc/util/sym-handling.c |    8 +++
 tools/perf/util/probe-event.c               |   84 +++++++++++++++++++--------
 tools/perf/util/string.c                    |   46 +++++++++++++++
 tools/perf/util/string2.h                   |    2 +
 tools/perf/util/symbol.c                    |    5 ++
 tools/perf/util/symbol.h                    |    1 
 7 files changed, 139 insertions(+), 25 deletions(-)

--
Masami Hiramatsu (Linaro Ltd.) <[email protected]>