summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile.feature
diff options
context:
space:
mode:
authorAdrian Hunter2015-07-21 11:44:05 +0200
committerArnaldo Carvalho de Melo2015-07-24 03:51:14 +0200
commit06b234ec26fde8d0fce54030fe0858e218636410 (patch)
treef67c8fc915bd7ee20140db6a0dc3988518d3a76a /tools/build/Makefile.feature
parentperf record: Add option --switch-events to select PERF_RECORD_SWITCH events (diff)
downloadkernel-qcow2-linux-06b234ec26fde8d0fce54030fe0858e218636410.tar.gz
kernel-qcow2-linux-06b234ec26fde8d0fce54030fe0858e218636410.tar.xz
kernel-qcow2-linux-06b234ec26fde8d0fce54030fe0858e218636410.zip
perf script: Don't assume evsel position of tracking events
The tracking event does not have to be the first event so replace perf_evlist__first() with perf_evlist__id2evsel() which uses the event ID to find the correct evsel. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Jiri Olsa <jolsa@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1437471846-26995-5-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/Makefile.feature')
0 files changed, 0 insertions, 0 deletions