diff options
| author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-02-02 14:35:03 -0500 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-07 07:51:34 -0500 |
| commit | cde164aee9e0343831467035eb96dd5506742648 (patch) | |
| tree | 8353fdc346aa319d7b88990ea007b22be9a372f3 /tools/lib/api/Makefile | |
| parent | 5693c92660970851e95f769ff27397f5098a6296 (diff) | |
tools lib fs: Add helper to find mounted file systems
In preparation for adding tracefs for perf to use, create a findfs
helper utility that find_debugfs uses instead of hard coding the search
in the code. This will allow for a find_tracefs to be used as well.
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/20150202193552.735023362@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/Makefile')
| -rw-r--r-- | tools/lib/api/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index 36c08b1f4afb..22b2f15d7255 100644 --- a/tools/lib/api/Makefile +++ b/tools/lib/api/Makefile | |||
| @@ -9,11 +9,13 @@ LIB_H= | |||
| 9 | LIB_OBJS= | 9 | LIB_OBJS= |
| 10 | 10 | ||
| 11 | LIB_H += fs/debugfs.h | 11 | LIB_H += fs/debugfs.h |
| 12 | LIB_H += fs/findfs.h | ||
| 12 | LIB_H += fs/fs.h | 13 | LIB_H += fs/fs.h |
| 13 | # See comment below about piggybacking... | 14 | # See comment below about piggybacking... |
| 14 | LIB_H += fd/array.h | 15 | LIB_H += fd/array.h |
| 15 | 16 | ||
| 16 | LIB_OBJS += $(OUTPUT)fs/debugfs.o | 17 | LIB_OBJS += $(OUTPUT)fs/debugfs.o |
| 18 | LIB_OBJS += $(OUTPUT)fs/findfs.o | ||
| 17 | LIB_OBJS += $(OUTPUT)fs/fs.o | 19 | LIB_OBJS += $(OUTPUT)fs/fs.o |
| 18 | # XXX piggybacking here, need to introduce libapikfd, or rename this | 20 | # XXX piggybacking here, need to introduce libapikfd, or rename this |
| 19 | # to plain libapik.a and make it have it all api goodies | 21 | # to plain libapik.a and make it have it all api goodies |
