Skip to content

perf-probe code cleanup and support wildcard for probe points

Masami Hiramatsu lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v18 patches 3 repliesApplied

Changes in v2 from the cover letter

- Update for the latest perf/core
- Use perf_probe_event.target instead of passing it as an independent parameter [1/4]
- Introduce probe_conf for configuring parameters of probe-finder and probe-event [2/4]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf probe: Use perf_probe_event.target instead of passing as an argumenttools/perf/builtin-probe.c tools/perf/util/probe-event.c tools/perf/util/probe-event.h+27 -330 replies
2/4perf probe: Introduce probe_conf global configstools/perf/builtin-probe.c tools/perf/util/probe-event.c tools/perf/util/probe-event.h +2 more+48 -630 replies
3/4perf-probe: Add --no-inlines option to avoid searching inline functionstools/perf/Documentation/perf-probe.txt tools/perf/builtin-probe.c tools/perf/util/probe-event.h +1 more+8 -10 replies
4/4perf-probe: Support glob wildcards for function nametools/perf/util/dwarf-aux.c tools/perf/util/dwarf-aux.h tools/perf/util/probe-event.c +3 more+59 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH perf/core v2 0/4] perf-probe code cleanup and support wildcard for probe points

Hi,

Here is a patches for wild card support. I've added two patches to reduce API parameters by introducing probe_conf. This simplifies --no-inlines option. (Thanks Arnaldo!)

Changes from v1:
- Update for the latest perf/core
- Use perf_probe_event.target instead of passing it as an independent parameter [1/4]
- Introduce probe_conf for configuring parameters of probe-finder and probe-event [2/4]

Thank you,

---

Masami Hiramatsu (4):
perf probe: Use perf_probe_event.target instead of passing as an argument perf probe: Introduce probe_conf global configs
perf-probe: Add --no-inlines option to avoid searching inline functions
perf-probe: Support glob wildcards for function name

 tools/perf/Documentation/perf-probe.txt |    4 +
 tools/perf/builtin-probe.c              |   24 +++----
 tools/perf/util/dwarf-aux.c             |   16 +++++
 tools/perf/util/dwarf-aux.h             |    3 +
 tools/perf/util/probe-event.c           |  105 +++++++++++++++----------------
 tools/perf/util/probe-event.h           |   15 +++-
 tools/perf/util/probe-finder.c          |   44 +++++++++----
 tools/perf/util/probe-finder.h          |    7 +-
 tools/perf/util/util.h                  |    4 +
 9 files changed, 128 insertions(+), 94 deletions(-)
Signature · 5 lines
Masami HIRAMATSU
Linux Technology Research Center, System Productivity Research Dept.
Center for Technology Innovation - Systems Engineering 
Hitachi, Ltd., Research & Development Group
E-mail: [email protected]