perf intel-pt: Add memory information to synthesized PEBS sample
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Jun 2019 07:28:02 +0000 (10:28 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Jun 2019 18:57:18 +0000 (15:57 -0300)
commit975846eddf907297aa036544545cd839c7c7dd31
tree4b85801b9cc63c8ccc53cf87a85d3933e8f20e8f
parentaa62afd7daac4b4cc95cd2454e3f43aa23f519c1
perf intel-pt: Add memory information to synthesized PEBS sample

Add memory information from PEBS data in the Intel PT trace to the
synthesized PEBS sample. This provides sample types PERF_SAMPLE_ADDR,
PERF_SAMPLE_WEIGHT, and PERF_SAMPLE_TRANSACTION, but not
PERF_SAMPLE_DATA_SRC.

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