android_kernel_oneplus_msm8998/tools/perf/util/intel-pt-decoder
Adrian Hunter f20002ad77 perf intel-pt: Fix timestamp following overflow
commit 91d29b288aed3406caf7c454bf2b898c96cfd177 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-24 09:32:03 +02:00
..
Build perf tools: Display build warning if x86 instruction decoder differs from kernel 2015-09-04 12:01:01 -03:00
gen-insn-attr-x86.awk
inat.c perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
inat.h perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
inat_types.h perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
insn.c perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
insn.h perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
intel-pt-decoder.c perf intel-pt: Fix timestamp following overflow 2018-04-24 09:32:03 +02:00
intel-pt-decoder.h perf intel-pt: Fix overlap detection to identify consecutive buffers correctly 2018-04-24 09:32:03 +02:00
intel-pt-insn-decoder.c perf tools: Fix build on powerpc broken by pt/bts 2015-08-31 15:47:33 -03:00
intel-pt-insn-decoder.h
intel-pt-log.c perf intel-pt: Make logging slightly more efficient 2015-09-28 16:45:26 -03:00
intel-pt-log.h perf intel-pt: Make logging slightly more efficient 2015-09-28 16:45:26 -03:00
intel-pt-pkt-decoder.c perf intel-pt: Fix ip compression 2017-08-06 19:19:40 -07:00
intel-pt-pkt-decoder.h perf tools: Add new Intel PT packet definitions 2015-08-24 17:46:06 -03:00
x86-opcode-map.txt x86/insn: perf tools: Add new xsave instructions 2015-09-04 12:01:04 -03:00