diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-05 18:48:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-05 19:15:00 +0100 |
commit | cf38fadade52df937521dd70d4437df1a9354cd9 (patch) | |
tree | e40d0b9b949de86c395bd189b9810790b28edc69 /tools/perf/util/fs.h | |
parent | perf tools: Factor sysfs code into generic fs object (diff) | |
download | linux-cf38fadade52df937521dd70d4437df1a9354cd9.tar.xz linux-cf38fadade52df937521dd70d4437df1a9354cd9.zip |
perf fs: Rename NAME_find_mountpoint() to NAME__mountpoint()
Shorten it, "finding" it is an implementation detail, what callers want
is the pathname, not to ask for it to _always_ do the lookup.
And the existing implementation already caches it, i.e. it doesn't
"finds" it on every call.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-r24wa4bvtccg7mnkessrbbdj@git.kernel.org
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/fs.h b/tools/perf/util/fs.h index 082edbd2159b..a7561c83c33c 100644 --- a/tools/perf/util/fs.h +++ b/tools/perf/util/fs.h @@ -1,6 +1,6 @@ #ifndef __PERF_FS #define __PERF_FS -const char *sysfs_find_mountpoint(void); +const char *sysfs__mountpoint(void); #endif /* __PERF_FS */ |