android_kernel_samsung_a7y1.../tools
Adrian Hunter 239e4fdf28 perf intel-pt: Fix TSC slip
commit f3b4e06b3bda759afd042d3d5fa86bea8f1fe278 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 13:01:33 +02:00
..
arch A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
build A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cgroup A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firewire A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
include A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
laptop/freefall A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lguest A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nfsd A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perf perf intel-pt: Fix TSC slip 2020-04-06 13:01:33 +02:00
power A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scripts A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
testing A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
thermal/tmon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usb A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
virtio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30