Skip to content

perf inject: Add vmlinux and ignore-vmlinux arguments

James Clark linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf tools: Refactor out kernel symbol argument sanity checkingtools/perf/builtin-report.c tools/perf/util/symbol.c tools/perf/util/symbol.h+26 -111 reply
2/3perf tools: Check vmlinux/kallsyms arguments in all toolstools/perf/builtin-annotate.c tools/perf/builtin-c2c.c tools/perf/builtin-probe.c +4 more+28 -00 replies
3/3perf inject: Add vmlinux and ignore-vmlinux argumentstools/perf/builtin-inject.c+7 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDenis Nikitin
1/3R-b
2/3
3/3T-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 inject: Add vmlinux and ignore-vmlinux arguments

Perf inject was missing the --vmlinux argument so I've added it. At the same time I tidied up the argument checking that already existed in perf report and applied it to all tools.

What I'm not sure about is whether it would have been better to check the accessibility of these files further down in a common place? It seems like vmlinux_name is also used for a non user provided name at some point so maybe this would be more complicated than just applying the existing check everywhere.

Thanks
James

James Clark (3):
perf tools: Refactor out kernel symbol argument sanity checking perf tools: Check vmlinux/kallsyms arguments in all tools perf inject: Add vmlinux and ignore-vmlinux arguments

 tools/perf/builtin-annotate.c |  4 ++++
 tools/perf/builtin-c2c.c      |  4 ++++
 tools/perf/builtin-inject.c   |  7 +++++++
 tools/perf/builtin-probe.c    |  5 +++++
 tools/perf/builtin-record.c   |  4 ++++
 tools/perf/builtin-report.c   | 13 ++-----------
 tools/perf/builtin-sched.c    |  4 ++++
 tools/perf/builtin-script.c   |  3 +++
 tools/perf/builtin-top.c      |  4 ++++
 tools/perf/util/symbol.c      | 22 ++++++++++++++++++++++
 tools/perf/util/symbol.h      |  2 ++
 11 files changed, 61 insertions(+), 11 deletions(-)
Signature · 1 line
2.28.0