perf scripts python: intel-pt-events.py: Add branches to script
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 25 May 2021 09:51:12 +0000 (12:51 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 May 2021 13:07:17 +0000 (10:07 -0300)
commita92bf335fd82eeee0e95705bfd25014ee0c8262e
tree6c2e7f6937bd83f511ac7a9a9d7e676340616e3c
parent2ede92173faa14ed6a5272b3e7a6dd6daae3b161
perf scripts python: intel-pt-events.py: Add branches to script

As an example, add branch information to intel-pt-events.py script.
This shows how a simple python script can be used to customize
perf script output for Intel PT branch traces or power event traces.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210525095112.1399-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/bin/intel-pt-events-record
tools/perf/scripts/python/bin/intel-pt-events-report
tools/perf/scripts/python/intel-pt-events.py