Re: [PATCH] perf/core: introduced stub APIs for exported APIs
From: kernel test robot
Date: Sun Mar 05 2023 - 02:37:28 EST
Hi Manish,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/perf/core]
[also build test ERROR on acme/perf/core tip/master tip/auto-latest linus/master v6.2 next-20230303]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Manish-Bhardwaj/perf-core-introduced-stub-APIs-for-exported-APIs/20230305-134024
patch link: https://lore.kernel.org/r/20230305053934.9948-1-bhardwajmanish18%40gmail.com
patch subject: [PATCH] perf/core: introduced stub APIs for exported APIs
config: nios2-randconfig-r021-20230305 (https://download.01.org/0day-ci/archive/20230305/202303051558.FF5cjvLT-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/2636181e6d3f39c8485077cb15927f84f00a617c
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Manish-Bhardwaj/perf-core-introduced-stub-APIs-for-exported-APIs/20230305-134024
git checkout 2636181e6d3f39c8485077cb15927f84f00a617c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303051558.FF5cjvLT-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
nios2-linux-ld: init/do_mounts.o: in function `perf_pmu_unregister':
>> do_mounts.c:(.text+0x184): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: init/do_mounts_initrd.o: in function `perf_pmu_unregister':
do_mounts_initrd.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: init/initramfs.o: in function `perf_pmu_unregister':
initramfs.c:(.text+0x48): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: arch/nios2/kernel/sys_nios2.o: in function `perf_pmu_unregister':
sys_nios2.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: arch/nios2/kernel/syscall_table.o: in function `perf_pmu_unregister':
syscall_table.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: arch/nios2/mm/fault.o: in function `perf_pmu_unregister':
fault.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/fork.o: in function `perf_pmu_unregister':
fork.c:(.text+0xa78): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/exec_domain.o: in function `perf_pmu_unregister':
exec_domain.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/cpu.o: in function `perf_pmu_unregister':
cpu.c:(.text+0x584): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/exit.o: in function `perf_pmu_unregister':
exit.c:(.text+0xf58): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sysctl.o: in function `perf_pmu_unregister':
sysctl.c:(.text+0x60): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/capability.o: in function `perf_pmu_unregister':
capability.c:(.text+0x5dc): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/ptrace.o: in function `perf_pmu_unregister':
ptrace.c:(.text+0x600): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/signal.o: in function `perf_pmu_unregister':
signal.c:(.text+0x16bc): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sys.o: in function `perf_pmu_unregister':
sys.c:(.text+0x1478): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/umh.o: in function `perf_pmu_unregister':
umh.c:(.text+0xa08): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/pid.o: in function `perf_pmu_unregister':
pid.c:(.text+0x5f8): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/nsproxy.o: in function `perf_pmu_unregister':
nsproxy.c:(.text+0x26c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/reboot.o: in function `perf_pmu_unregister':
reboot.c:(.text+0xa74): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/kmod.o: in function `perf_pmu_unregister':
kmod.c:(.text+0x358): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/groups.o: in function `perf_pmu_unregister':
groups.c:(.text+0x270): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sched/core.o: in function `perf_pmu_unregister':
core.c:(.text+0xc04): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sched/fair.o: in function `perf_pmu_unregister':
fair.c:(.text+0x2184): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sched/build_policy.o: in function `perf_pmu_unregister':
build_policy.c:(.text+0x3318): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/sched/build_utility.o: in function `perf_pmu_unregister':
build_utility.c:(.text+0x38a8): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/power/qos.o: in function `perf_pmu_unregister':
qos.c:(.text+0xe0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/printk/printk.o: in function `perf_pmu_unregister':
printk.c:(.text+0xb5c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/rcu/tree.o: in function `perf_pmu_unregister':
tree.c:(.text+0x7a00): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/module/main.o: in function `perf_pmu_unregister':
main.c:(.text+0xeb4): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/kcmp.o: in function `perf_pmu_unregister':
kcmp.c:(.text+0x570): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/time/time.o: in function `perf_pmu_unregister':
time.c:(.text+0xc98): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/time/timer.o: in function `perf_pmu_unregister':
timer.c:(.text+0x1650): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/time/hrtimer.o: in function `perf_pmu_unregister':
hrtimer.c:(.text+0x13c4): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/time/posix-stubs.o: in function `perf_pmu_unregister':
posix-stubs.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/time/tick-common.o: in function `perf_pmu_unregister':
tick-common.c:(.text+0x1a0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: kernel/bpf/core.o: in function `perf_pmu_unregister':
core.c:(.text+0x4c0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/oom_kill.o: in function `perf_pmu_unregister':
oom_kill.c:(.text+0x748): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/fadvise.o: in function `perf_pmu_unregister':
fadvise.c:(.text+0x324): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/page-writeback.o: in function `perf_pmu_unregister':
page-writeback.c:(.text+0x287c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/readahead.o: in function `perf_pmu_unregister':
readahead.c:(.text+0xb6c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/shmem.o: in function `perf_pmu_unregister':
shmem.c:(.text+0x5968): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/debug.o: in function `perf_pmu_unregister':
debug.c:(.text+0x1a8): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mmap_lock.o: in function `perf_pmu_unregister':
mmap_lock.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/memory.o: in function `perf_pmu_unregister':
memory.c:(.text+0x1130): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mincore.o: in function `perf_pmu_unregister':
mincore.c:(.text+0x52c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mlock.o: in function `perf_pmu_unregister':
mlock.c:(.text+0x1c34): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mmap.o: in function `perf_pmu_unregister':
mmap.c:(.text+0xa34): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mprotect.o: in function `perf_pmu_unregister':
mprotect.c:(.text+0x0): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/mremap.o: in function `perf_pmu_unregister':
mremap.c:(.text+0x121c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/msync.o: in function `perf_pmu_unregister':
msync.c:(.text+0x24c): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
nios2-linux-ld: mm/process_vm_access.o: in function `perf_pmu_unregister':
process_vm_access.c:(.text+0x5b4): multiple definition of `perf_pmu_unregister'; init/main.o:main.c:(.text+0x18): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests