diff options
author | Adrian Hunter <[email protected]> | 2019-05-10 15:41:43 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-16 14:17:24 -0300 |
commit | 1b6599a9d8e6c9f7e9b0476012383b1777f7fc93 (patch) | |
tree | 54bba364c23b4e795e08a6930761a0ce24da3ec3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 61b6e08dc8e3ea80b7485c9b3f875ddd45c8466b (diff) |
perf intel-pt: Fix sample timestamp wrt non-taken branches
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 3f04d98e972b5 ("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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: [email protected] # v4.4+
Fixes: 3f04d98e972b ("perf intel-pt: Improve sample timestamp")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions