[PATCH 11/11] perf intel-pt: Fix occasional decoding errors when tracing system-wide

2016-08-15 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter 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

[PATCH 11/11] perf intel-pt: Fix occasional decoding errors when tracing system-wide

2016-08-15 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter 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: