lineage_android_kernel_xiao.../tools
Adrian Hunter 57ce7d4b43 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-20 08:20:41 +02:00
..
accounting tools: move accounting tool from Documentation 2016-09-23 13:07:15 -06:00
arch KPTI: Rename to PAGE_TABLE_ISOLATION 2018-01-05 15:46:35 +01:00
build tools build: Add tools tree support for 'make -s' 2018-02-25 11:05:52 +01:00
cgroup
firewire
gpio tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
hv hv: kvp: Avoid reading past allocated blocks from KVP file 2017-12-14 09:28:11 +01:00
iio Second set of iio new device support, features and cleanups for the 4.9 cycle. 2016-09-14 20:42:03 +02:00
include tools include: Do not use poison with C++ 2017-12-09 22:01:49 +01:00
kvm/kvm_stat
laptop tools: move laptops dslm tool from Documentation 2016-09-23 13:07:21 -06:00
lguest tools/lguest: Don't bork the terminal in case of wrong args 2016-09-08 08:05:24 +02:00
lib tools lib traceevent: Fix prev/next_prio for deadline tasks 2017-08-06 18:59:48 -07:00
net
nfsd
objtool objtool: Improve error message for bad file argument 2018-01-23 19:57:05 +01:00
pcmcia tools: move pcmcia crc32hash tool from Documentation 2016-09-23 13:07:27 -06:00
perf perf intel-pt: Fix timestamp following overflow 2018-04-20 08:20:41 +02:00
power cpupower : Fix cpupower working when cpu0 is offline 2018-02-03 17:05:35 +01:00
scripts tools build: Add tools tree support for 'make -s' 2018-02-25 11:05:52 +01:00
spi Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next 2016-09-30 09:14:22 -07:00
testing selftests: kselftest_harness: Fix compile warning 2018-04-13 19:48:29 +02:00
thermal/tmon
time
usb tools/usbip: fixes build with musl libc toolchain 2018-03-22 09:17:56 +01:00
virtio tools/virtio/ringtest: fix run-on-all.sh for offline cpus 2017-01-26 08:24:46 +01:00
vm tools/vm/page_owner: increase temporary buffer size 2016-07-26 16:19:19 -07:00
Makefile