summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/intel-pt-decoder
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-03-07 16:02:22 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-08 10:05:55 -0300
commit63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2 (patch)
tree888ea8ae38cf9766168375f09fe2dd0d05e838a5 /tools/perf/util/intel-pt-decoder
parent117db4b27bf08dba412faf3924ba55fe970c57b8 (diff)
downloadlinux-63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2.tar.bz2
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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1520431349-30689-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder')
0 files changed, 0 insertions, 0 deletions