tracing: Do not try to recreated toplevel set_ftrace_* files
[linux-2.6-microblaze.git] / kernel / trace / trace_events_trigger.c
index 8efbb69..925f537 100644 (file)
@@ -1095,7 +1095,7 @@ event_enable_trigger_print(struct seq_file *m, struct event_trigger_ops *ops,
        seq_printf(m, "%s:%s:%s",
                   enable_data->enable ? ENABLE_EVENT_STR : DISABLE_EVENT_STR,
                   enable_data->file->event_call->class->system,
-                  enable_data->file->event_call->name);
+                  ftrace_event_name(enable_data->file->event_call));
 
        if (data->count == -1)
                seq_puts(m, ":unlimited");