]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
perf intel-pt: Tidy Intel PT evsel lookup into separate function
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:30 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jun 2017 14:44:35 +0000 (11:44 -0300)
commit85a564d26dfb45bbf0c0095e0fcee3bdc4a49a85
treed76f673e734ec5180763483bf26a5a83cad48113
parent406a180501f6d0d4e43d5acc5f580abfc95c742d
perf intel-pt: Tidy Intel PT evsel lookup into separate function

Tidy the lookup of the Intel PT selected event (perf_evsel) into a separate
function.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-30-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c