perf intel-pt: Add MTC and CYC timestamps to debug log
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 5 Nov 2018 07:35:05 +0000 (09:35 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Nov 2018 17:53:54 +0000 (14:53 -0300)
commitf6c23e3b55cb93f32a724f41af8d38888bc2ab6b
tree2f719879a904351a0494e78b0d81c78fb7310ca0
parent93f8be2799515e01647c5a9b0d17a90a00ebcf82
perf intel-pt: Add MTC and CYC timestamps to debug log

One cause of decoding errors is un-synchronized side-band data.
Timestamps are needed to debug such cases. TSC packet timestamps are
logged. Log also MTC and CYC timestamps.

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