diff options
| author | Jiri Olsa <[email protected]> | 2019-07-21 11:24:34 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-29 21:34:45 +0000 |
| commit | 651bf38ce10a65ef8efb901fc33187127c023e97 (patch) | |
| tree | 0ed001cfe2255f31e97c423198d0b9406bf1466d /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | libperf: Add perf_evsel__new() function (diff) | |
| download | kernel-651bf38ce10a65ef8efb901fc33187127c023e97.tar.gz kernel-651bf38ce10a65ef8efb901fc33187127c023e97.zip | |
libperf: Add perf_evlist__for_each_evsel() iterator
Add a perf_evlist__for_each_evsel() macro to iterate perf_evsel objects
in evlist.
Introduce the perf_evlist__next() function to do that without exposing
'struct perf_evlist' internals.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
