perf inject: Add vmlinux and ignore-vmlinux arguments
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf tools: Refactor out kernel symbol argument sanity checkingtools/ tools/ tools/ | +26 | 1 reply | |
| 2/3 | perf tools: Check vmlinux/kallsyms arguments in all toolstools/ tools/ tools/ +4 more | +28 | 0 replies | |
| 3/3 | perf inject: Add vmlinux and ignore-vmlinux argumentstools/ | +7 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Denis Nikitin |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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