aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-07-21 13:24:34 +0200
committerArnaldo Carvalho de Melo <[email protected]>2019-07-29 18:34:45 -0300
commit651bf38ce10a65ef8efb901fc33187127c023e97 (patch)
tree0ed001cfe2255f31e97c423198d0b9406bf1466d /tools/perf/util/scripting-engines/trace-event-python.c
parent63bd5dfa69658c459d08a6ee6bfebbd4a91cf24d (diff)
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