hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/tools/perf/tests/attr.c
....@@ -30,8 +30,9 @@
3030 #include <sys/types.h>
3131 #include <sys/stat.h>
3232 #include <unistd.h>
33
-#include "../perf.h"
3433 #include <subcmd/exec-cmd.h>
34
+#include "event.h"
35
+#include "util.h"
3536 #include "tests.h"
3637
3738 #define ENV "PERF_TEST_ATTR"
....@@ -182,7 +183,7 @@
182183 char path_perf[PATH_MAX];
183184 char path_dir[PATH_MAX];
184185
185
- /* First try developement tree tests. */
186
+ /* First try development tree tests. */
186187 if (!lstat("./tests", &st))
187188 return run_dir("./tests", "./perf");
188189