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)
commit4c35595e1ea7585d09eb80096f47af237061e795
tree48f405b0011fc200952e39d847a9bd8ee897adb5
parenta0db77bf880b8badd2f9ce4da708c69b0b865853
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