1 --- linux-4.12/tools/perf/util/libunwind/x86_32.c.orig 2017-07-03 01:07:02.000000000 +0200
2 +++ linux-4.12/tools/perf/util/libunwind/x86_32.c 2017-07-13 18:03:18.986458842 +0200
4 #include "libunwind-x86.h"
5 #include <../../../../arch/x86/include/uapi/asm/perf_regs.h>
8 /* HAVE_ARCH_X86_64_SUPPORT is used in'arch/x86/util/unwind-libunwind.c'
9 * for x86_32, we undef it to compile code for x86_32 only.
11 --- linux-4.19/tools/perf/arch/x86/tests/arch-tests.c.orig 2018-10-22 08:37:37.000000000 +0200
12 +++ linux-4.19/tools/perf/arch/x86/tests/arch-tests.c 2018-12-19 21:33:34.463629513 +0100
14 .func = test__insn_x86,
17 -#if defined(__x86_64__)
18 +#if defined(__x86_64__) && !defined(__ILP32__)
20 .desc = "x86 bp modify",
21 .func = test__bp_modify,