linux_dsm_epyc7002/tools/perf/util/intel-pt-decoder
Adrian Hunter 3bccbe20f6 perf intel-pt: Fix MTC timestamp calculation for large MTC periods
The MTC packet provides a 8-bit slice of CTC which is related to TSC by
the TMA packet, however the TMA packet only provides the lower 16 bits
of CTC.  If mtc_shift > 8 then some of the MTC bits are not in the CTC
provided by the TMA packet. Fix-up the last_mtc calculated from the TMA
packet by copying the missing bits from the current MTC assuming the
least difference between the two, and that the current MTC comes after
last_mtc.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v4.3+
Link: http://lkml.kernel.org/r/1475062896-22274-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-10-05 08:15:58 -03:00
..
Build
gen-insn-attr-x86.awk
inat_types.h
inat.c
inat.h
insn.c
insn.h
intel-pt-decoder.c perf intel-pt: Fix MTC timestamp calculation for large MTC periods 2016-10-05 08:15:58 -03:00
intel-pt-decoder.h perf intel-pt: Enable decoder to handle TIP.PGD with missing IP 2016-09-29 11:17:06 -03:00
intel-pt-insn-decoder.c
intel-pt-insn-decoder.h
intel-pt-log.c
intel-pt-log.h
intel-pt-pkt-decoder.c
intel-pt-pkt-decoder.h
x86-opcode-map.txt