diff options
| author | Adrian Hunter <[email protected]> | 2015-07-21 12:44:05 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-07-23 22:51:14 -0300 |
| commit | 06b234ec26fde8d0fce54030fe0858e218636410 (patch) | |
| tree | f67c8fc915bd7ee20140db6a0dc3988518d3a76a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b757bb09134f479a087ece08d2cd2a6ba31c9210 (diff) | |
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 <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions