aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-03-07 16:02:24 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-08 10:05:56 -0300
commit91d29b288aed3406caf7c454bf2b898c96cfd177 (patch)
tree94ab1cedbe0955d3c619ee37ffdfe19cc9a6ea1e /tools/perf/arch/x86
parentperf intel-pt: Fix error recovery from missing TIP packet (diff)
downloadlinux-dev-91d29b288aed3406caf7c454bf2b898c96cfd177.tar.xz
linux-dev-91d29b288aed3406caf7c454bf2b898c96cfd177.zip
perf intel-pt: Fix timestamp following overflow
timestamp_insn_cnt is used to estimate the timestamp based on the number of instructions since the last known timestamp. If the estimate is not accurate enough decoding might not be correctly synchronized with side-band events causing more trace errors. However there are always timestamps following an overflow, so the estimate is not needed and can indeed result in more errors. Suppress the estimate by setting timestamp_insn_cnt to zero. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1520431349-30689-5-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86')
0 files changed, 0 insertions, 0 deletions