summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/fs.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-11-05 14:48:50 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-11-05 15:15:00 -0300
commitcf38fadade52df937521dd70d4437df1a9354cd9 (patch)
treee40d0b9b949de86c395bd189b9810790b28edc69 /tools/perf/util/fs.h
parent4299a549979783668d787959d61ba22b6b200877 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/fs.h b/tools/perf/util/fs.h
index 082edbd2159..a7561c83c33 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 */