summaryrefslogtreecommitdiffstats
path: root/tools/perf/check-headers.sh
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-11-25 09:09:27 +0100
committerIngo Molnar <mingo@kernel.org>2019-11-25 09:09:27 +0100
commitceb9e77324fa661b1001a0ae66f061b5fcb4e4e6 (patch)
treedce8c1a21347cd12b44ed56af4aafc2a58c9ec08 /tools/perf/check-headers.sh
parentMerge branch 'perf/urgent' into perf/core, to pick up fixes (diff)
parentx86: kprobes: Prohibit probing on instruction which has emulate prefix (diff)
downloadlinux-ceb9e77324fa661b1001a0ae66f061b5fcb4e4e6.tar.xz
linux-ceb9e77324fa661b1001a0ae66f061b5fcb4e4e6.zip
Merge branch 'x86/core' into perf/core, to resolve conflicts and to pick up completed topic tree
Conflicts: tools/perf/check-headers.sh Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/check-headers.sh')
-rwxr-xr-xtools/perf/check-headers.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 48290a0c917c..a1dc16724352 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -28,6 +28,7 @@ arch/x86/include/asm/disabled-features.h
arch/x86/include/asm/required-features.h
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/inat_types.h
+arch/x86/include/asm/emulate_prefix.h
arch/x86/include/asm/irq_vectors.h
arch/x86/include/asm/msr-index.h
arch/x86/include/uapi/asm/prctl.h
@@ -118,7 +119,7 @@ check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B
check arch/x86/include/asm/inat.h '-I "^#include [\"<]\(asm/\)*inat_types.h[\">]"'
check arch/x86/include/asm/insn.h '-I "^#include [\"<]\(asm/\)*inat.h[\">]"'
check arch/x86/lib/inat.c '-I "^#include [\"<]\(../include/\)*asm/insn.h[\">]"'
-check arch/x86/lib/insn.c '-I "^#include [\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]"'
+check arch/x86/lib/insn.c '-I "^#include [\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]" -I "^#include [\"<]\(../include/\)*asm/emulate_prefix.h[\">]"'
# diff non-symmetric files
check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl