kernel-fxtec-pro1x/tools/perf/util/intel-pt-decoder
Adrian Hunter 05fab34572 perf intel-pt: Fix sample timestamp wrt non-taken branches
commit 1b6599a9d8e6c9f7e9b0476012383b1777f7fc93 upstream.

The sample timestamp is updated to ensure that the timestamp represents
the time of the sample and not a branch that the decoder is still
walking towards. The sample timestamp is updated when the decoder
returns, but the decoder does not return for non-taken branches. Update
the sample timestamp then also.

Note that commit 3f04d98e97 ("perf intel-pt: Improve sample
timestamp") was also a stable fix and appears, for example, in v4.4
stable tree as commit a4ebb58fd124 ("perf intel-pt: Improve sample
timestamp").

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v4.4+
Fixes: 3f04d98e97 ("perf intel-pt: Improve sample timestamp")
Link: http://lkml.kernel.org/r/20190510124143.27054-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-25 18:23:33 +02:00
..
Build perf intel-pt: Improve build messages for files that differ from the kernel 2017-11-29 18:18:02 -03:00
gen-insn-attr-x86.awk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inat.c
inat.h perf intel-pt: Bring instruction decoder files into line with the kernel 2017-11-28 14:28:49 -03:00
inat_types.h
insn.c perf tools: Add AVX-512 support to the instruction decoder used by Intel PT 2016-07-21 09:37:18 -03:00
insn.h perf tools intel-pt-decoder: Update insn.h from the kernel sources 2018-06-01 16:13:18 -03:00
intel-pt-decoder.c perf intel-pt: Fix sample timestamp wrt non-taken branches 2019-05-25 18:23:33 +02:00
intel-pt-decoder.h perf intel-pt: Fix "Unexpected indirect branch" error 2018-06-06 12:52:08 -03:00
intel-pt-insn-decoder.c perf/core improvements and fixes: 2017-03-16 17:29:23 +01:00
intel-pt-insn-decoder.h perf intel-pt/bts: Tidy instruction buffer size usage 2016-10-24 10:31:32 -03:00
intel-pt-log.c perf intel-pt/bts: Tidy instruction buffer size usage 2016-10-24 10:31:32 -03:00
intel-pt-log.h tools: Adopt __printf from kernel sources 2017-06-19 15:25:26 -03:00
intel-pt-pkt-decoder.c perf intel-pt: Fix packet decoding of CYC packets 2018-06-25 11:59:36 -03:00
intel-pt-pkt-decoder.h perf intel-pt: Add decoder support for ptwrite and power event packets 2017-06-21 11:35:50 -03:00
x86-opcode-map.txt x86/decoder: Fix and update the opcodes map 2017-12-15 13:45:20 +01:00