diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-08-15 07:23:04 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-08-15 21:11:18 (GMT) |
commit | 3d918fb13abdbeca7947578f5d7e426eafad7f5e (patch) | |
tree | 2870b57fb1d769b093575252c0a3bfa063996483 /fs/fs-writeback.c | |
parent | 9f3156903df3f7d9bba9acde810d78bca94305d5 (diff) | |
download | linux-3d918fb13abdbeca7947578f5d7e426eafad7f5e.tar.xz |
perf intel-pt: Fix occasional decoding errors when tracing system-wide
In order to successfully decode Intel PT traces, context switch events
are needed from the moment the trace starts. Currently that is ensured
by using the 'immediate' flag which enables the switch event when it is
opened.
However, since commit 86c2786994bd ("perf intel-pt: Add support for
PERF_RECORD_SWITCH") that might not always happen. When tracing
system-wide the context switch event is added to the tracking event
which was not set as 'immediate'. Change that so it is.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v4.4+
Fixes: 86c2786994bd ("perf intel-pt: Add support for PERF_RECORD_SWITCH")
Link: http://lkml.kernel.org/r/1471245784-22580-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions