]> Pileus Git - ~andy/linux/blobdiff - kernel/trace/ftrace.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
[~andy/linux] / kernel / trace / ftrace.c
index c3e4575e7829e1e807652ff2bc86fd0220d1a8a8..077d85387908812fc699e98b1c4d8fc6362ff6b9 100644 (file)
@@ -3862,6 +3862,14 @@ void ftrace_kill(void)
        clear_ftrace_function();
 }
 
+/**
+ * Test if ftrace is dead or not.
+ */
+int ftrace_is_dead(void)
+{
+       return ftrace_disabled;
+}
+
 /**
  * register_ftrace_function - register a function for profiling
  * @ops - ops structure that holds the function for profiling.