diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-11-05 09:14:46 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-05 13:15:07 -0500 |
commit | a9862418547e818aa5842840aecfa81d733b97e9 (patch) | |
tree | 7081a4bc090652b64d716031ad277a67bd6ea051 /tools/perf/util/include/linux/magic.h | |
parent | cf38fadade52df937521dd70d4437df1a9354cd9 (diff) |
perf fs: Add procfs support
Adding procfs support into fs class.
The interface function:
const char *procfs__mountpoint(void);
provides existing mountpoint path for procfs.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1383660887-1734-3-git-send-email-jolsa@redhat.com
[ Fixup namespace ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/include/linux/magic.h')
-rw-r--r-- | tools/perf/util/include/linux/magic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/magic.h b/tools/perf/util/include/linux/magic.h index 58b64ed4da12..07d63cf3e0f6 100644 --- a/tools/perf/util/include/linux/magic.h +++ b/tools/perf/util/include/linux/magic.h | |||
@@ -9,4 +9,8 @@ | |||
9 | #define SYSFS_MAGIC 0x62656572 | 9 | #define SYSFS_MAGIC 0x62656572 |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #ifndef PROC_SUPER_MAGIC | ||
13 | #define PROC_SUPER_MAGIC 0x9fa0 | ||
14 | #endif | ||
15 | |||
12 | #endif | 16 | #endif |