]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Add decoder support for PEBS via PT
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Jun 2019 07:27:55 +0000 (10:27 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Jun 2019 18:57:17 +0000 (15:57 -0300)
commit17bb8b948e40186896252cc3056026cc5acfe400
tree48f405b0011fc200952e39d847a9bd8ee897adb5
parenta619cca4107d7664f49573bcf1cb17c6f57319a6
perf intel-pt: Add decoder support for PEBS via PT

PEBS data is encoded in Block Item Packets (BIP). Populate a new structure
intel_pt_blk_items with the values and, upon a Block End Packet (BEP),
report them as a new Intel PT sample type INTEL_PT_BLK_ITEMS.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190610072803.10456-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c
tools/perf/util/intel-pt-decoder/intel-pt-decoder.h