Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / kernel / trace / trace_functions_graph.c
index a663cbb84107d71039200011e4b3ec5f897c9213..3a0244ff7ea8df27680c1eeca9caf177d8e083bd 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include <linux/uaccess.h>
 #include <linux/ftrace.h>
+#include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/fs.h>
 
@@ -1350,7 +1351,7 @@ void graph_trace_open(struct trace_iterator *iter)
  out_err_free:
        kfree(data);
  out_err:
-       pr_warning("function graph tracer: not enough memory\n");
+       pr_warn("function graph tracer: not enough memory\n");
 }
 
 void graph_trace_close(struct trace_iterator *iter)
@@ -1468,12 +1469,12 @@ static __init int init_graph_trace(void)
        max_bytes_for_cpu = snprintf(NULL, 0, "%d", nr_cpu_ids - 1);
 
        if (!register_trace_event(&graph_trace_entry_event)) {
-               pr_warning("Warning: could not register graph trace events\n");
+               pr_warn("Warning: could not register graph trace events\n");
                return 1;
        }
 
        if (!register_trace_event(&graph_trace_ret_event)) {
-               pr_warning("Warning: could not register graph trace events\n");
+               pr_warn("Warning: could not register graph trace events\n");
                return 1;
        }
 
This page took 0.040683 seconds and 5 git commands to generate.