diff options
Diffstat (limited to 'tools/perf/tests/attr.c')
-rw-r--r-- | tools/perf/tests/attr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/tests/attr.c b/tools/perf/tests/attr.c index 6e2feee8db2a..25638a986257 100644 --- a/tools/perf/tests/attr.c +++ b/tools/perf/tests/attr.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "../perf.h" | 27 | #include "../perf.h" |
28 | #include "util.h" | 28 | #include "util.h" |
29 | #include "exec_cmd.h" | 29 | #include "exec_cmd.h" |
30 | #include "tests.h" | ||
30 | 31 | ||
31 | #define ENV "PERF_TEST_ATTR" | 32 | #define ENV "PERF_TEST_ATTR" |
32 | 33 | ||
@@ -151,7 +152,7 @@ static int run_dir(const char *d, const char *perf) | |||
151 | return system(cmd); | 152 | return system(cmd); |
152 | } | 153 | } |
153 | 154 | ||
154 | int test_attr__run(void) | 155 | int test__attr(void) |
155 | { | 156 | { |
156 | struct stat st; | 157 | struct stat st; |
157 | char path_perf[PATH_MAX]; | 158 | char path_perf[PATH_MAX]; |