diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-03-07 17:02:22 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-08 16:05:55 +0300 |
commit | 63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2 (patch) | |
tree | 888ea8ae38cf9766168375f09fe2dd0d05e838a5 /Documentation/usb | |
parent | 117db4b27bf08dba412faf3924ba55fe970c57b8 (diff) | |
download | linux-63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2.tar.xz |
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 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions