]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/trace/trace_events_filter.c
Merge branch 'linus' into tracing/core
[mirror_ubuntu-artful-kernel.git] / kernel / trace / trace_events_filter.c
index e03cbf1e38f36b306f8eafd2ed2d79837b901a37..9f8ecca34a5950d98b3c86b8636ade46ef2cf457 100644 (file)
@@ -185,7 +185,7 @@ void filter_free_subsystem_preds(struct event_subsystem *system)
        }
 
        events_for_each(call) {
-               if (!call->name || !call->regfunc)
+               if (!call->define_fields)
                        continue;
 
                if (!strcmp(call->system, system->name))
@@ -324,7 +324,7 @@ int filter_add_subsystem_pred(struct event_subsystem *system,
        events_for_each(call) {
                int err;
 
-               if (!call->name || !call->regfunc)
+               if (!call->define_fields)
                        continue;
 
                if (strcmp(call->system, system->name))