hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/tools/perf/arch/x86/tests/insn-x86.c
....@@ -1,11 +1,12 @@
11 // SPDX-License-Identifier: GPL-2.0
22 #include <linux/types.h>
3
+#include "../../../../arch/x86/include/asm/insn.h"
4
+#include <string.h>
35
46 #include "debug.h"
57 #include "tests/tests.h"
68 #include "arch-tests.h"
79
8
-#include "intel-pt-decoder/insn.h"
910 #include "intel-pt-decoder/intel-pt-insn-decoder.h"
1011
1112 struct test_data {
....@@ -170,7 +171,7 @@
170171 *
171172 * If the test passes %0 is returned, otherwise %-1 is returned. Use the
172173 * verbose (-v) option to see all the instructions and whether or not they
173
- * decoded successfuly.
174
+ * decoded successfully.
174175 */
175176 int test__insn_x86(struct test *test __maybe_unused, int subtest __maybe_unused)
176177 {