perf tool: Minor code clean ups
Status from this message: Applied to perf-tools-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf symbol: Reduce scope of elf__needs_adjust_symbolstools/ tools/ | +4 | 0 replies | |
| 2/5 | perf dump-insn: Remove dump-insn.ctools/ tools/ | +0 | 0 replies | |
| 3/5 | perf tool: Constify the command and option arraystools/ | +6 | 0 replies | |
| 4/5 | perf bpf_map: Remove unused codetools/ tools/ tools/ +1 more | +0 | 0 replies | |
| 5/5 | perf record: Remove unused cpu-set-sched.htools/ tools/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/5] perf tool: Minor code clean ups
Remove some unused functions, files, etc. Reduce scope of variables and functions. Constify arrays in perf.c.
Ian Rogers (5):
perf symbol: Reduce scope of elf__needs_adjust_symbols perf dump-insn: Remove dump-insn.c
perf tool: Constify the command and option arrays perf bpf_map: Remove unused code
perf record: Remove unused cpu-set-sched.h
tools/perf/builtin-record.c | 1 - tools/perf/builtin-trace.c | 1 - tools/perf/perf.c | 12 +++--- tools/perf/util/Build | 2 - tools/perf/util/bpf_map.c | 70 --------------------------------- tools/perf/util/bpf_map.h | 23 ----------- tools/perf/util/cpu-set-sched.h | 50 ----------------------- tools/perf/util/dump-insn.c | 23 ----------- tools/perf/util/symbol-elf.c | 8 ++-- tools/perf/util/symbol.h | 1 - 10 files changed, 10 insertions(+), 181 deletions(-) delete mode 100644 tools/perf/util/bpf_map.c delete mode 100644 tools/perf/util/bpf_map.h delete mode 100644 tools/perf/util/cpu-set-sched.h delete mode 100644 tools/perf/util/dump-insn.c
Signature · 1 line
2.53.0.239.g8d8fc8a987-goog