Em Wed, Feb 24, 2021 at 10:16:55AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Feb 22, 2021 at 02:43:39PM +0800, Tiezhu Yang escreveu: > > On 02/04/2021 11:35 AM, Tiezhu Yang wrote: > > > v2: add R26 and R27 to the enum perf_event_mips_regs in patch #1 > > > > > > Tiezhu Yang (3): > > > MIPS: kernel: Support extracting off-line stack traces from user-space > > > with perf > > > perf tools: Support mips unwinding and dwarf-regs > > > perf tools: Generate mips syscalls_n64.c syscall table > > > > Hi Arnaldo, > > > > The kernel part patch #1 has been merged. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1ddc96bd42da > > > > Could the perf tool patches #2 and #3 have a chance to be merged before > > 5.12-rc1? > > If yes, we can use this feature in 5.12-rc1. > > Thanks, applied, should make it into 5.12-rc1. First we'll have to fix this problem: 28 12.45 debian:experimental-x-mips64 : FAIL gcc version 10.2.1 20201224 (Debian 10.2.1-3) from builtin-diff.c:12: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/branch.h:15, from util/callchain.h:8, from builtin-record.c:16: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-buildid-list.c:17: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-evlist.c:16: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-buildid-cache.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from builtin-annotate.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/thread.h:16, from builtin-sched.c:11: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/branch.h:15, from builtin-report.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from builtin-stat.c:49: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/thread.h:16, from builtin-timechart.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. 29 12.79 debian:experimental-x-mipsel : FAIL gcc version 10.2.1 20201224 (Debian 10.2.1-3) from builtin-diff.c:12: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/branch.h:15, from util/callchain.h:8, from builtin-record.c:16: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-buildid-list.c:17: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from builtin-stat.c:49: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from builtin-annotate.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-evlist.c:16: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/thread.h:16, from builtin-sched.c:11: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/thread.h:16, from builtin-timechart.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/branch.h:15, from builtin-report.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from util/session.h:6, from builtin-buildid-cache.c:24: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from util/perf_regs.h:30, from util/event.h:15, from builtin-top.c:31: /git/linux/tools/perf/arch/mips/include/perf_regs.h:7:10: fatal error: asm/perf_regs.h: No such file or directory 7 | #include <asm/perf_regs.h> | ^~~~~~~~~~~~~~~~~ compilation terminated.