Adrian Hunter 1b6599a9d8 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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v4.4+
Fixes: 3f04d98e972b ("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>
2019-05-16 14:17:24 -03:00
..
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-02-19 12:21:06 -03:00
2018-10-18 11:16:38 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 11:07:39 -03:00
2019-04-17 14:30:11 -03:00
2019-04-17 14:30:11 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2019-04-01 14:49:25 -03:00
2019-04-01 14:49:25 -03:00
2018-03-05 11:52:41 -03:00
2017-07-18 23:14:08 -03:00
2018-12-17 14:57:07 -03:00
2019-01-25 15:12:09 +01:00
2019-03-19 16:52:03 -03:00
2019-02-09 13:16:01 +01:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-01-21 15:15:57 -03:00