]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf kvm stat: Fix relative paths for including headers
authorLeo Yan <leo.yan@arm.com>
Sun, 1 Mar 2026 17:43:25 +0000 (17:43 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Mar 2026 20:16:45 +0000 (17:16 -0300)
Add an extra "../" to the relative paths so that the uAPI headers
provided by tools can be found correctly.

Fixes: a724a8fce5e25b45 ("perf kvm stat: Fix build error")
Reported-by: Namhyung Kim <namhyung@kernel.org>
Suggested-by: Ian Rogers <irogers@google.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/kvm-stat-arch/kvm-stat-x86.c

index 43275d25b6cbccc477ba45a901d69c67422847ae..0f626db3a4392d7bd77417be16a2dfd4f4b1e34e 100644 (file)
@@ -4,9 +4,9 @@
 #include "../kvm-stat.h"
 #include "../evsel.h"
 #include "../env.h"
-#include "../../arch/x86/include/uapi/asm/svm.h"
-#include "../../arch/x86/include/uapi/asm/vmx.h"
-#include "../../arch/x86/include/uapi/asm/kvm.h"
+#include "../../../arch/x86/include/uapi/asm/svm.h"
+#include "../../../arch/x86/include/uapi/asm/vmx.h"
+#include "../../../arch/x86/include/uapi/asm/kvm.h"
 #include <subcmd/parse-options.h>
 
 define_exit_reasons_table(vmx_exit_reasons, VMX_EXIT_REASONS);