Em Fri, Feb 26, 2021 at 08:49:29PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Feb 26, 2021 at 09:11:17AM +0800, Tiezhu Yang escreveu: > > Sorry for the late reply. I asked for a leave yesterday. > > asm/perf_regs.h is a new added file in the patch #1, > > the patch link is: > > https://lore.kernel.org/patchwork/patch/1375477/ > > the commit is: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/mips/include/uapi/asm/perf_regs.h?id=1ddc96bd42da > > > > So we should build patch #2 based on patch #1. > yeah, my bad, since perf wasn't supported on MIPS, how could cross build > environments have the needed files? Stooooopid me, sorry. :-) I'll > retest after adding the needed files to my test containers. Then I had to add this one on top: Committer notes: Do it as __perf_reg_name() to cope with: 067012974c8ae31a ("perf tools: Fix arm64 build error with gcc-11") - Arnaldo