tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/urgent
head: 27597c782ca7cbf37a58156790e41e028449b1ba
commit: d5ef92d792772af29345ab933bf1eb22a014870f [2/8] perf/arch: Remove
perf_sample_data::regs_user_copy
config: nds32-randconfig-r011-20201030 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue perf/urgent
git checkout d5ef92d792772af29345ab933bf1eb22a014870f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/perf_event.h:56,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:84,
from kernel/events/core.c:34:
include/linux/perf_regs.h:45:1: error: expected identifier or '(' before
'{' token
45 | {
| ^
kernel/events/core.c:6534:6: warning: no previous prototype for
'perf_pmu_snapshot_aux' [-Wmissing-prototypes]
6534 | long perf_pmu_snapshot_aux(struct perf_buffer *rb,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/perf_event.h:56,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:84,
from kernel/events/core.c:34:
> include/linux/perf_regs.h:43:20: warning:
'perf_get_regs_user' used but never defined
43 | static inline void
perf_get_regs_user(struct perf_regs *regs_user,
| ^~~~~~~~~~~~~~~~~~
vim +/perf_get_regs_user +43 include/linux/perf_regs.h
88a7c26af8dab2f Andy Lutomirski 2015-01-04 42
88a7c26af8dab2f Andy Lutomirski 2015-01-04 @43 static inline void
perf_get_regs_user(struct perf_regs *regs_user,
:::::: The code at line 43 was first introduced by commit
:::::: 88a7c26af8dab2f2d69f5a6067eb670694ec38c0 perf: Move task_pt_regs sampling into arch
code
:::::: TO: Andy Lutomirski <luto(a)amacapital.net>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org