mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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 <[email protected]> Signed-off-by: Athira Rajeev <[email protected]> Tested-by: Tejas Manhas <[email protected]> Tested-by: Venkat Rao Bagalkote <[email protected]> Cc: Aboorva Devarajan <[email protected]> Cc: Aditya Bodkhe <[email protected]> Cc: Hari Bathini <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Shrikanth Hegde <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>