diff options
author | Oleg Nesterov <[email protected]> | 2014-07-15 20:48:29 +0200 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-07-16 14:33:35 -0400 |
commit | bb9ef1cb7d8668d6b0038b6f9f783c849135e40d (patch) | |
tree | 73e5fb0db1f01ad6e4031bebc78387c885f1d571 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | e738d3ebbf70ebadb83f3a4060dc34f422c2fbe7 (diff) |
tracing: Change apply_subsystem_event_filter() paths to check file->system == dir
filter_free_subsystem_preds(), filter_free_subsystem_filters() and
replace_system_preds() can simply check file->system->subsystem and
avoid strcmp(call->class->system).
Better yet, we can pass "struct ftrace_subsystem_dir *dir" instead of
event_subsystem and just check file->system == dir.
Thanks to Namhyung Kim who pointed out that replace_system_preds() can
be changed too.
Link: http://lkml.kernel.org/p/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions