tracing: Add hist_debug trace event files for histogram debugging
[linux-2.6-microblaze.git] / kernel / trace / trace_events.c
index 242f59e..f6f5568 100644 (file)
@@ -2208,6 +2208,10 @@ event_create_dir(struct dentry *parent, struct trace_event_file *file)
 #ifdef CONFIG_HIST_TRIGGERS
        trace_create_file("hist", 0444, file->dir, file,
                          &event_hist_fops);
+#endif
+#ifdef CONFIG_HIST_TRIGGERS_DEBUG
+       trace_create_file("hist_debug", 0444, file->dir, file,
+                         &event_hist_debug_fops);
 #endif
        trace_create_file("format", 0444, file->dir, call,
                          &ftrace_event_format_fops);