aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-07-21 11:24:34 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-07-29 21:34:45 +0000
commit651bf38ce10a65ef8efb901fc33187127c023e97 (patch)
tree0ed001cfe2255f31e97c423198d0b9406bf1466d /tools/perf/util/scripting-engines/trace-event-python.c
parentlibperf: Add perf_evsel__new() function (diff)
downloadkernel-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