]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit54c11b6466cfb3553efae717b34c670433758fcc
treed87d6177a86c57ac5476f9bf13933914ff790dcb
parente490dcd66af333f76ecab213315e25efd04bd39e
perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING

BugLink: http://bugs.launchpad.net/bugs/1807469
commit dbcb82b93f3e8322891e47472c89e63058b81e99 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
tools/perf/util/intel-pt.c