diff options
Diffstat (limited to 'tools/perf/tests/parse-events.c')
-rw-r--r-- | tools/perf/tests/parse-events.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 48114d164e9f..ef671cd41bb3 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c | |||
@@ -2,7 +2,7 @@ | |||
2 | #include "parse-events.h" | 2 | #include "parse-events.h" |
3 | #include "evsel.h" | 3 | #include "evsel.h" |
4 | #include "evlist.h" | 4 | #include "evlist.h" |
5 | #include "sysfs.h" | 5 | #include "fs.h" |
6 | #include <lk/debugfs.h> | 6 | #include <lk/debugfs.h> |
7 | #include "tests.h" | 7 | #include "tests.h" |
8 | #include <linux/hw_breakpoint.h> | 8 | #include <linux/hw_breakpoint.h> |
@@ -1456,7 +1456,7 @@ static int test_pmu(void) | |||
1456 | int ret; | 1456 | int ret; |
1457 | 1457 | ||
1458 | snprintf(path, PATH_MAX, "%s/bus/event_source/devices/cpu/format/", | 1458 | snprintf(path, PATH_MAX, "%s/bus/event_source/devices/cpu/format/", |
1459 | sysfs_find_mountpoint()); | 1459 | sysfs__mountpoint()); |
1460 | 1460 | ||
1461 | ret = stat(path, &st); | 1461 | ret = stat(path, &st); |
1462 | if (ret) | 1462 | if (ret) |
@@ -1473,7 +1473,7 @@ static int test_pmu_events(void) | |||
1473 | int ret; | 1473 | int ret; |
1474 | 1474 | ||
1475 | snprintf(path, PATH_MAX, "%s/bus/event_source/devices/cpu/events/", | 1475 | snprintf(path, PATH_MAX, "%s/bus/event_source/devices/cpu/events/", |
1476 | sysfs_find_mountpoint()); | 1476 | sysfs__mountpoint()); |
1477 | 1477 | ||
1478 | ret = stat(path, &st); | 1478 | ret = stat(path, &st); |
1479 | if (ret) { | 1479 | if (ret) { |