linux-stable/tools/lib/api/fs
Steven Rostedt (Red Hat) dd6dda27a8 tools lib api fs: Add {tracefs,debugfs}_configured() functions
Add tracefs_configured() to return true if tracefs is configured in the
kernel (succeeds to find tracefs), and debugfs_configured() if debugfs
is configured in the kernel (succeeds to find debugfs).

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150202193553.190606690@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-02-07 14:00:10 +01:00
..
debugfs.c tools lib api fs: Add {tracefs,debugfs}_configured() functions 2015-02-07 14:00:10 +01:00
debugfs.h tools lib api fs: Add {tracefs,debugfs}_configured() functions 2015-02-07 14:00:10 +01:00
findfs.c tools lib fs: Add helper to find mounted file systems 2015-02-07 13:51:34 +01:00
findfs.h tools lib api fs: Add {tracefs,debugfs}_configured() functions 2015-02-07 14:00:10 +01:00
fs.c perf tools: Fix statfs.f_type data type mismatch build error with uclibc 2015-01-16 17:49:29 -03:00
fs.h tools lib fs: Add sysctl__read_int helper 2014-12-11 17:53:00 -03:00
tracefs.c tools lib api fs: Add {tracefs,debugfs}_configured() functions 2015-02-07 14:00:10 +01:00
tracefs.h tools lib api fs: Add {tracefs,debugfs}_configured() functions 2015-02-07 14:00:10 +01:00