]> git.baikalelectronics.ru Git - kernel.git/commit
perf fs: Add procfs support
authorJiri Olsa <jolsa@redhat.com>
Tue, 5 Nov 2013 14:14:46 +0000 (15:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Nov 2013 18:15:07 +0000 (15:15 -0300)
commit96652b0429597c6bd1a63ab5f690495edae3f497
tree7081a4bc090652b64d716031ad277a67bd6ea051
parent45409ed2157ce5e27c80b291e631e754c01ef516
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>
tools/perf/util/fs.c
tools/perf/util/fs.h
tools/perf/util/include/linux/magic.h