aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTaeung Song <[email protected]>2017-01-31 11:38:28 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-01-31 19:20:08 +0000
commit43d41deb71fe1850264e5dd8109211683954ea14 (patch)
tree7f1ce9c0a9c8e5e635a1fc880db331d4d1a59b61 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf test: Add libbpf pinning test (diff)
downloadkernel-43d41deb71fe1850264e5dd8109211683954ea14.tar.gz
kernel-43d41deb71fe1850264e5dd8109211683954ea14.zip
perf tools: Create for_each_event macro for tracepoints iteration
Similar to for_each_subsystem and for_each_event in util/parse-events.c, add new macro 'for_each_event' for easy iteration over the tracepoints in order to be more compact and readable. Signed-off-by: Taeung Song <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Slight change to keep existing style for checking strcmp() return ] 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