Pipe mode header dumping and minor space saving
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/4 | perf header: In pipe mode dump features without --header/-Itools/ | +8 | 0 replies | |
| 2/4 | perf header: Allow tracing of attr eventstools/ tools/ | +9 | 0 replies | |
| 3/4 | perf header: Display message if BPF/BTF info is emptytools/ | +6 | 0 replies | |
| 4/4 | perf header: Don't write empty BPF/BTF infotools/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] Pipe mode header dumping and minor space saving
Pipe mode has no header and emits the data as if it were events. The dumping of features was controlled by the --header/-I options which makes little sense when they are events, normally traced when dump_trace is true. Switch to making pipe feature events also be traced with detail when other events are.
The attr event in pipe mode had no dumping, wire this up and use the existing perf_event_attr fprintf support.
The header's bpf_prog_info or bpf_btf may be empty when written. If they are empty just skip writing them to save space.
Ian Rogers (4):
perf header: In pipe mode dump features without --header/-I perf header: Allow tracing of attr events
perf header: Display message if BPF/BTF info is empty perf header: Don't write empty BPF/BTF info
tools/perf/util/header.c | 46 ++++++++++++++++++++++++++-------------- tools/perf/util/header.h | 1 + 2 files changed, 31 insertions(+), 16 deletions(-)
Signature · 1 line
2.50.0.rc0.604.gd4ff7b7c86-goog