aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2012-04-25 10:23:39 +0200
committerSteven Rostedt <[email protected]>2012-05-08 21:04:12 -0400
commit50e18b94c695644d824381e7574b9c44acc25ffe (patch)
tree8e323cd188dfdf4882e963812a6b9caf8905cac0 /tools/perf/util/scripting-engines/trace-event-python.c
parentb02ee9a33b65bcc4ad13c12a0b04afdaab3ddd8d (diff)
tracing: Use seq_*_private interface for some seq files
It's appropriate to use __seq_open_private interface to open some of trace seq files, because it covers all steps we are duplicating in tracing code - zallocating the iterator and setting it as seq_file's private. Using this for following files: trace available_filter_functions enabled_functions Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]> [ Fixed warnings for: kernel/trace/trace.c: In function '__tracing_open': kernel/trace/trace.c:2418:11: warning: unused variable 'ret' [-Wunused-variable] kernel/trace/trace.c:2417:19: warning: unused variable 'm' [-Wunused-variable] ] Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions