perf intel-pt: Record when decoding PSB+ packets
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 May 2019 11:37:15 +0000 (14:37 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:56 +0000 (09:47 -0300)
commit9bc668e3bca8fadc50d5a121a1992a72ada0d3f4
tree33a9a8db69e0ec7da7e21bd6551bfdab784a39e9
parent68fb45bf175e702aec6668c776050e5dbd2a6f1f
perf intel-pt: Record when decoding PSB+ packets

In preparation for using MTC packets to count cycles, record whether
decoding is between a PSB and PSBEND packets.

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