diff options
| author | Adrian Hunter <[email protected]> | 2018-03-07 16:02:22 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-08 10:05:55 -0300 |
| commit | 63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2 (patch) | |
| tree | 888ea8ae38cf9766168375f09fe2dd0d05e838a5 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 117db4b27bf08dba412faf3924ba55fe970c57b8 (diff) | |
perf intel-pt: Fix sync_switch
sync_switch is a facility to synchronize decoding more closely with the
point in the kernel when the context actually switched.
The flag when sync_switch is enabled was global to the decoding, whereas
it is really specific to the CPU.
The trace data for different CPUs is put on different queues, so add
sync_switch to the intel_pt_queue structure and use that in preference
to the global setting in the intel_pt structure.
That fixes problems decoding one CPU's trace because sync_switch was
disabled on a different CPU's queue.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[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/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions