Messages in this thread | | | From | Adrian Hunter <> | Subject | [PATCH 00/25] perf intel-pt: Add support for Event Trace and TNT disable | Date | Mon, 24 Jan 2022 10:41:36 +0200 |
| |
Hi
Brief documentation is in the last patch with more technical details in Intel SDM (https://www.intel.com/sdm) version 076.
The patches touch mostly Intel PT and auxtrace code, with a few supporting changes to perf script.
I am not aware of any hardware that has the new capabilities yet.
Patches can also be found here:
https://github.com/ahunter6/linux/tree/event-trace
Adrian Hunter (25): perf intel-pt: pkt-decoder-test: Fix scope of test_data perf intel-pt: pkt-decoder: Remove misplaced linebreak perf intel-pt: pkt-decoder: Add CFE and EVD packets perf intel-pt: pkt-decoder: Add MODE.Exec IFLAG bit perf intel-pt: decoder: Add config bit definitions perf intel-pt: decoder: Factor out clearing of FUP event variables perf intel-pt: decoder: Add CFE and EVD processing perf intel-pt: decoder: Add MODE.Exec IFLAG processing perf tools: Define Intel PT CFE / EVD event perf tools: Define Intel PT iflag synthesized event perf tools: Define new D and t flags perf auxtrace: Add itrace option "I" perf intel-pt: Record Event Trace capability flag perf intel-pt: Synthesize CFE / EVD event perf intel-pt: Synthesize iflag event perf intel-pt: Synthesize new D and t flags perf intel-pt: Force 'quick' mode when TNT is disabled perf script: Display Intel PT CFE / EVD synthesized event perf script: Display Intel PT iflag synthesized event perf script: Display new D and t flags perf scripts python: intel-pt-events.py: Add Event Trace perf scripting python: Add all sample flags to DB export perf scripts python: export-to-sqlite.py: Export all sample flags perf scripts python: export-to-postgresql.py: Export all sample flags perf intel-pt: Add documentation for Event Trace and TNT disable
tools/perf/Documentation/itrace.txt | 2 + tools/perf/Documentation/perf-intel-pt.txt | 104 ++++++++- tools/perf/Documentation/perf-script.txt | 13 +- .../arch/x86/tests/intel-pt-pkt-decoder-test.c | 17 +- tools/perf/arch/x86/util/intel-pt.c | 7 + tools/perf/builtin-script.c | 78 ++++++- tools/perf/scripts/python/export-to-postgresql.py | 17 +- tools/perf/scripts/python/export-to-sqlite.py | 19 +- tools/perf/scripts/python/intel-pt-events.py | 55 ++++- tools/perf/util/auxtrace.c | 4 + tools/perf/util/auxtrace.h | 4 + tools/perf/util/event.h | 45 +++- .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 245 +++++++++++++++++++-- .../perf/util/intel-pt-decoder/intel-pt-decoder.h | 21 ++ .../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 47 +++- .../util/intel-pt-decoder/intel-pt-pkt-decoder.h | 3 + tools/perf/util/intel-pt.c | 164 +++++++++++++- .../util/scripting-engines/trace-event-python.c | 3 +- 18 files changed, 779 insertions(+), 69 deletions(-)
Regards Adrian
| |