aboutsummaryrefslogtreecommitdiff
path: root/include/linux/bootprof.h
diff options
context:
space:
mode:
authorMeizu OpenSource <patchwork@meizu.com>2016-08-15 10:19:42 +0800
committerMeizu OpenSource <patchwork@meizu.com>2016-08-15 10:19:42 +0800
commitd2e1446d81725c351dc73a03b397ce043fb18452 (patch)
tree4dbc616b7f92aea39cd697a9084205ddb805e344 /include/linux/bootprof.h
first commit
Diffstat (limited to 'include/linux/bootprof.h')
-rw-r--r--include/linux/bootprof.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/bootprof.h b/include/linux/bootprof.h
new file mode 100644
index 000000000..217b5193e
--- /dev/null
+++ b/include/linux/bootprof.h
@@ -0,0 +1,11 @@
+/*
+ boot logger: drivers/misc/mtprof/bootprof
+ interface: /proc/bootprof
+*/
+#ifdef CONFIG_SCHEDSTATS
+extern void log_boot(char *str);
+#else
+static inline void log_boot(char *str)
+{
+}
+#endif