diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2019-03-25 15:51:35 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-03-28 14:31:55 -0300 |
commit | f3b4e06b3bda759afd042d3d5fa86bea8f1fe278 (patch) | |
tree | 795a322f98bd67431e16e096282784f56e3d26fe /tools/perf/util/auxtrace.h | |
parent | c8fa7a807f3c5f946bd92076fbaf7826edb650dc (diff) | |
download | blackbird-op-linux-f3b4e06b3bda759afd042d3d5fa86bea8f1fe278.tar.gz blackbird-op-linux-f3b4e06b3bda759afd042d3d5fa86bea8f1fe278.zip |
perf intel-pt: Fix TSC slip
A TSC packet can slip past MTC packets so that the timestamp appears to
go backwards. One estimate is that can be up to about 40 CPU cycles,
which is certainly less than 0x1000 TSC ticks, but accept slippage an
order of magnitude more to be on the safe side.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 79b58424b821c ("perf tools: Add Intel PT support for decoding MTC packets")
Link: http://lkml.kernel.org/r/20190325135135.18348-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.h')
0 files changed, 0 insertions, 0 deletions