Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

From: kbuild test robot
Date: Mon Aug 19 2019 - 22:06:37 EST


Hi Daniel,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bpf-next/master]

url: https://github.com/0day-ci/linux/commits/Daniel-Xu/tracing-probe-Add-PERF_EVENT_IOC_QUERY_PROBE-ioctl/20190820-003910
base: https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

init/do_mounts.o: In function `perf_kprobe_event_query':
>> do_mounts.c:(.text+0x4e8): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
init/do_mounts.o: In function `perf_uprobe_event_query':
>> do_mounts.c:(.text+0x4f0): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
init/do_mounts_initrd.o: In function `perf_kprobe_event_query':
do_mounts_initrd.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
init/do_mounts_initrd.o: In function `perf_uprobe_event_query':
do_mounts_initrd.c:(.text+0x8): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
init/initramfs.o: In function `perf_kprobe_event_query':
initramfs.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
init/initramfs.o: In function `perf_uprobe_event_query':
initramfs.c:(.text+0x8): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/process.o: In function `perf_kprobe_event_query':
process.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/process.o: In function `perf_uprobe_event_query':
process.c:(.text+0x8): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/signal.o: In function `perf_kprobe_event_query':
signal.c:(.text+0x11e0): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/signal.o: In function `perf_uprobe_event_query':
signal.c:(.text+0x11e8): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/sys.o: In function `perf_kprobe_event_query':
sys.c:(.text+0xb8): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/sys.o: In function `perf_uprobe_event_query':
sys.c:(.text+0xc0): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/traps.o: In function `perf_kprobe_event_query':
traps.c:(.text+0x510): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/traps.o: In function `perf_uprobe_event_query':
traps.c:(.text+0x518): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/syscall.o: In function `perf_kprobe_event_query':
syscall.c:(.text+0x168): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/syscall.o: In function `perf_uprobe_event_query':
syscall.c:(.text+0x170): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/sys32.o: In function `perf_kprobe_event_query':
sys32.c:(.text+0x228): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/sys32.o: In function `perf_uprobe_event_query':
sys32.c:(.text+0x230): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/signal32.o: In function `perf_kprobe_event_query':
signal32.c:(.text+0x1548): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/signal32.o: In function `perf_uprobe_event_query':
signal32.c:(.text+0x1550): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kernel/sys_compat.o: In function `perf_kprobe_event_query':
sys_compat.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kernel/sys_compat.o: In function `perf_uprobe_event_query':
sys_compat.c:(.text+0x8): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
arch/arm64/kvm/../../../virt/kvm/eventfd.o: In function `perf_kprobe_event_query':
eventfd.c:(.text+0x810): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
arch/arm64/kvm/../../../virt/kvm/eventfd.o: In function `perf_uprobe_event_query':
eventfd.c:(.text+0x818): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/fork.o: In function `perf_kprobe_event_query':
fork.c:(.text+0x990): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
kernel/fork.o: In function `perf_uprobe_event_query':
fork.c:(.text+0x998): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/exec_domain.o: In function `perf_kprobe_event_query':
exec_domain.c:(.text+0x20): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
kernel/exec_domain.o: In function `perf_uprobe_event_query':
exec_domain.c:(.text+0x28): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/cpu.o: In function `perf_kprobe_event_query':
cpu.c:(.text+0x1670): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
kernel/cpu.o: In function `perf_uprobe_event_query':
cpu.c:(.text+0x1678): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/exit.o: In function `perf_kprobe_event_query':
exit.c:(.text+0x260): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
kernel/exit.o: In function `perf_uprobe_event_query':
exit.c:(.text+0x268): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/sysctl.o: In function `perf_kprobe_event_query':
sysctl.c:(.text+0x2200): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here
kernel/sysctl.o: In function `perf_uprobe_event_query':
sysctl.c:(.text+0x2208): multiple definition of `perf_uprobe_event_query'
init/main.o:main.c:(.text+0x170): first defined here
kernel/sysctl_binary.o: In function `perf_kprobe_event_query':
sysctl_binary.c:(.text+0x200): multiple definition of `perf_kprobe_event_query'
init/main.o:main.c:(.text+0x168): first defined here

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip