perf intel-pt: Factor out common sample preparation for re-use
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Jun 2019 07:27:57 +0000 (10:27 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Jun 2019 18:57:18 +0000 (15:57 -0300)
commit0dfded34a2e3b517c149ee9c7d1e5173025017b7
tree734b9cf17217edca5ba36b9737e9a0ad85898c04
parente62ca655eea7ad4956929f647c2d9fb36aeff90e
perf intel-pt: Factor out common sample preparation for re-use

Factor out common sample preparation for re-use when synthesizing PEBS
samples.

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