From: Oleg Nesterov Date: Tue, 15 Jul 2014 18:48:29 +0000 (+0200) Subject: tracing: Change apply_subsystem_event_filter() paths to check file->system == dir X-Git-Tag: omap-for-v3.17/fixes-against-rc2~185^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb9ef1cb7d8668d6b0038b6f9f783c849135e40d;p=pandora-kernel.git 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/20140715184829.GA20516@redhat.com Signed-off-by: Oleg Nesterov Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed