summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/fs.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-11-05 15:14:46 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-11-05 19:15:07 +0100
commita9862418547e818aa5842840aecfa81d733b97e9 (patch)
tree7081a4bc090652b64d716031ad277a67bd6ea051 /tools/perf/util/fs.h
parentperf fs: Rename NAME_find_mountpoint() to NAME__mountpoint() (diff)
downloadlinux-a9862418547e818aa5842840aecfa81d733b97e9.tar.xz
linux-a9862418547e818aa5842840aecfa81d733b97e9.zip
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/fs.h')
-rw-r--r--tools/perf/util/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/fs.h b/tools/perf/util/fs.h
index a7561c83c33c..5e09ce1bab0e 100644
--- a/tools/perf/util/fs.h
+++ b/tools/perf/util/fs.h
@@ -2,5 +2,6 @@
#define __PERF_FS
const char *sysfs__mountpoint(void);
+const char *procfs__mountpoint(void);
#endif /* __PERF_FS */