linux/tools/perf/arch/powerpc
Athira Rajeev 1dbfaf94cf perf powerpc: Add basic CONFIG_AUXTRACE support for VPA pmu on powerpc
The powerpc PMU collecting Dispatch Trace Log (DTL) entries makes use of
AUX support in perf infrastructure.

The PMU driver has the functionality to collect trace entries in the aux
buffer.

On the tools side, this data is made available as PERF_RECORD_AUXTRACE
records.

This record is generated by "perf record" command.

To enable the creation of PERF_RECORD_AUXTRACE, add functions to
initialize auxtrace records ie "auxtrace_record__init()".

Fill in fields for other callbacks like info_priv_size, info_fill, free,
recording options etc.

Define auxtrace_type as PERF_AUXTRACE_VPA_DTL.  Add header file to
define vpa dtl pmu specific details.

Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com>
Tested-by: Tejas Manhas <tejas05@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Cc: Aboorva Devarajan <aboorvad@linux.ibm.com>
Cc: Aditya Bodkhe <Aditya.Bodkhe1@ibm.com>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2025-10-01 11:22:04 -03:00
..
annotate perf disasm: Add e_machine/e_flags to struct arch 2024-11-09 08:39:13 -08:00
entry/syscalls tools headers: Sync syscall tables with the kernel source 2025-08-18 13:49:25 -07:00
include perf syscalltbl: Remove syscall_table.h 2025-03-20 22:57:35 -07:00
tests perf tools: Fix compile error on sample->user_regs 2025-02-14 12:33:41 -08:00
util perf powerpc: Add basic CONFIG_AUXTRACE support for VPA pmu on powerpc 2025-10-01 11:22:04 -03:00
Build perf util: Make util its own library 2024-06-26 11:07:42 -07:00
Makefile perf tools powerpc: Use generic syscall table scripts 2025-01-10 10:57:01 -03:00