OSDN Git Service

perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 31 May 2018 10:23:42 +0000 (13:23 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jun 2018 15:52:07 +0000 (12:52 -0300)
commitdbcb82b93f3e8322891e47472c89e63058b81e99
tree9761f0e819a6e7343e237a665f64263e3f31cfb6
parentec1e6e6a681815e4d02a54eed92edec6fa4128ee
perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING

sync_switch is a facility to synchronize decoding more closely with the
point in the kernel when the context actually switched.

In one case, INTEL_PT_SS_NOT_TRACING state was not correctly
transitioning to INTEL_PT_SS_TRACING state due to a missing case clause.
Add it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1527762225-26024-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c