perf tools: Document recent additions to the perf.data file header

Add documentation for recently added HEADER_E_MACHINE and
HEADER_CLN_SIZE data to the perf.data file. Also fix a typo
at the end of the header section.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Thomas Falcon <thomas.falcon@intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Dapeng Mi <dapeng1.mi@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Thomas Falcon
2026-06-12 14:28:47 -05:00
committed by Arnaldo Carvalho de Melo
parent cd355f6dc7
commit 1221e50b4a

View File

@@ -464,7 +464,21 @@ struct cpu_domain_info {
struct domain_info domains[];
};
other bits are reserved and should ignored for now
HEADER_E_MACHINE = 33,
ELF machine and flags data. e_machine is expanded from 16 to 32 bits
for alignment. Format:
u32 e_machine;
u32 e_flags;
HEADER_CLN_SIZE = 34,
The size of the cacheline in bytes. Format:
unsigned int cln_size;
other bits are reserved and should be ignored for now
HEADER_FEAT_BITS = 256,
Attributes