aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2017-05-26 11:17:03 +0300
committerArnaldo Carvalho de Melo <[email protected]>2017-06-21 11:35:43 -0300
commit3f04d98e972b59706bd43d6cc75efac91f8fba50 (patch)
treef053f7b5eb16e8a575901ab0712110207db9f6f2 /tools/perf/util/scripting-engines/trace-event-python.c
parent22c06892332d8916115525145b78e606e9cc6492 (diff)
perf intel-pt: Improve sample timestamp
The decoder uses its current timestamp in samples. Usually that is a timestamp that has already passed, but in some cases it is a timestamp for a branch that the decoder is walking towards, and consequently hasn't reached. Improve that situation by using the pkt_state to determine when to use the current or previous timestamp. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions