aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf.c')
-rw-r--r--tools/perf/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index 873e55fab375..fc89005c3e51 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -388,7 +388,7 @@ static int run_argv(int *argcp, const char ***argv)
388/* mini /proc/mounts parser: searching for "^blah /mount/point debugfs" */ 388/* mini /proc/mounts parser: searching for "^blah /mount/point debugfs" */
389static void get_debugfs_mntpt(void) 389static void get_debugfs_mntpt(void)
390{ 390{
391 const char *path = debugfs_find_mountpoint(); 391 const char *path = debugfs_mount(NULL);
392 392
393 if (path) 393 if (path)
394 strncpy(debugfs_mntpt, path, sizeof(debugfs_mntpt)); 394 strncpy(debugfs_mntpt, path, sizeof(debugfs_mntpt));