diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-09-02 03:56:37 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-04 11:00:58 -0400 |
commit | b86b0d3570273c6ddc16b1972e82bf7778346286 (patch) | |
tree | 9d2f6d12cab4536e7034dc71b78fc9b86bb9f6cd /tools/lib/api/fs/fs.c | |
parent | 988bdb319246dea977a375beee39a5452e99b3ef (diff) |
tools lib api fs: Add STR and PATH_MAX macros to fs object
We're going to get rid of findfs.h in following patches, but we'll still
need these macros.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Raphael Beamonte <raphael.beamonte@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1441180605-24737-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/fs/fs.c')
-rw-r--r-- | tools/lib/api/fs/fs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/api/fs/fs.c b/tools/lib/api/fs/fs.c index 128ef6332a6b..5e838d3c419d 100644 --- a/tools/lib/api/fs/fs.c +++ b/tools/lib/api/fs/fs.c | |||
@@ -15,6 +15,9 @@ | |||
15 | #include "debugfs.h" | 15 | #include "debugfs.h" |
16 | #include "fs.h" | 16 | #include "fs.h" |
17 | 17 | ||
18 | #define _STR(x) #x | ||
19 | #define STR(x) _STR(x) | ||
20 | |||
18 | static const char * const sysfs__fs_known_mountpoints[] = { | 21 | static const char * const sysfs__fs_known_mountpoints[] = { |
19 | "/sys", | 22 | "/sys", |
20 | 0, | 23 | 0, |