aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2018-03-07 16:02:27 +0200
committerArnaldo Carvalho de Melo <[email protected]>2018-03-08 10:05:57 -0300
commit9c6650647de430a6ad9707c51b3342f23af0d2ee (patch)
tree105fd46b6065d3df7031789c97dafde715b18834 /tools/perf/scripts/python/sctop.py
parent1c071c80d9661c263b043969fd92305037bf9773 (diff)
perf intel-pt: Tidy old_buffer handling in intel_pt_get_trace()
intel_pt_get_trace() fixes overlaps between the current buffer and the previous buffer ('old_buffer'). However the previous buffer might not have had usable data (no PSB) so the comparison must be made against the previous buffer that had usable data. Tidy that by keeping a pointer for that purpose in struct intel_pt_queue. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions