summaryrefslogtreecommitdiff
path: root/tools/perf/util/include/linux/magic.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/linux/magic.h')
-rw-r--r--tools/perf/util/include/linux/magic.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/magic.h b/tools/perf/util/include/linux/magic.h
new file mode 100644
index 000000000000..58b64ed4da12
--- /dev/null
+++ b/tools/perf/util/include/linux/magic.h
@@ -0,0 +1,12 @@
+#ifndef _PERF_LINUX_MAGIC_H_
+#define _PERF_LINUX_MAGIC_H_
+
+#ifndef DEBUGFS_MAGIC
+#define DEBUGFS_MAGIC 0x64626720
+#endif
+
+#ifndef SYSFS_MAGIC
+#define SYSFS_MAGIC 0x62656572
+#endif
+
+#endif