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: i386-alldefconfig (attached as .config) compiler: gcc-7 (Debian 7.4.0-10) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): ld: init/do_mounts.o: in function `perf_kprobe_event_query': >> do_mounts.c:(.text+0x80): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: init/do_mounts.o: in function `perf_uprobe_event_query': >> do_mounts.c:(.text+0x90): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: init/noinitramfs.o: in function `perf_kprobe_event_query': noinitramfs.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: init/noinitramfs.o: in function `perf_uprobe_event_query': noinitramfs.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/entry/common.o: in function `perf_kprobe_event_query': common.c:(.text+0x2c0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/entry/common.o: in function `perf_uprobe_event_query': common.c:(.text+0x2d0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/process_32.o: in function `perf_kprobe_event_query': process_32.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/process_32.o: in function `perf_uprobe_event_query': process_32.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/signal.o: in function `perf_kprobe_event_query': signal.c:(.text+0x2e0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/signal.o: in function `perf_uprobe_event_query': signal.c:(.text+0x2f0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/ioport.o: in function `perf_kprobe_event_query': ioport.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/ioport.o: in function `perf_uprobe_event_query': ioport.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/ldt.o: in function `perf_kprobe_event_query': ldt.c:(.text+0x500): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/ldt.o: in function `perf_uprobe_event_query': ldt.c:(.text+0x510): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/process.o: in function `perf_kprobe_event_query': process.c:(.text+0xe0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/process.o: in function `perf_uprobe_event_query': process.c:(.text+0xf0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: arch/x86/kernel/tls.o: in function `perf_kprobe_event_query': tls.c:(.text+0x2c0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: arch/x86/kernel/tls.o: in function `perf_uprobe_event_query': tls.c:(.text+0x2d0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/fork.o: in function `perf_kprobe_event_query': fork.c:(.text+0x510): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/fork.o: in function `perf_uprobe_event_query': fork.c:(.text+0x520): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: 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+0x80): first defined here ld: kernel/exec_domain.o: in function `perf_uprobe_event_query': exec_domain.c:(.text+0x30): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/cpu.o: in function `perf_kprobe_event_query': cpu.c:(.text+0x1b0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/cpu.o: in function `perf_uprobe_event_query': cpu.c:(.text+0x1c0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: 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+0x80): first defined here ld: kernel/exit.o: in function `perf_uprobe_event_query': exit.c:(.text+0x270): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/sysctl.o: in function `perf_kprobe_event_query': sysctl.c:(.text+0x1790): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/sysctl.o: in function `perf_uprobe_event_query': sysctl.c:(.text+0x17a0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/sysctl_binary.o: in function `perf_kprobe_event_query': sysctl_binary.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/sysctl_binary.o: in function `perf_uprobe_event_query': sysctl_binary.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/capability.o: in function `perf_kprobe_event_query': capability.c:(.text+0x170): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/capability.o: in function `perf_uprobe_event_query': capability.c:(.text+0x180): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/ptrace.o: in function `perf_kprobe_event_query': ptrace.c:(.text+0x680): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/ptrace.o: in function `perf_uprobe_event_query': ptrace.c:(.text+0x690): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/signal.o: in function `perf_kprobe_event_query': signal.c:(.text+0x810): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/signal.o: in function `perf_uprobe_event_query': signal.c:(.text+0x820): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/sys.o: in function `perf_kprobe_event_query': sys.c:(.text+0xa40): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/sys.o: in function `perf_uprobe_event_query': sys.c:(.text+0xa50): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/umh.o: in function `perf_kprobe_event_query': umh.c:(.text+0x4b0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/umh.o: in function `perf_uprobe_event_query': umh.c:(.text+0x4c0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/pid.o: in function `perf_kprobe_event_query': pid.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/pid.o: in function `perf_uprobe_event_query': pid.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/nsproxy.o: in function `perf_kprobe_event_query': nsproxy.c:(.text+0x1e0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/nsproxy.o: in function `perf_uprobe_event_query': nsproxy.c:(.text+0x1f0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/reboot.o: in function `perf_kprobe_event_query': reboot.c:(.text+0x90): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/reboot.o: in function `perf_uprobe_event_query': reboot.c:(.text+0xa0): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/groups.o: in function `perf_kprobe_event_query': groups.c:(.text+0x20): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/groups.o: in function `perf_uprobe_event_query': groups.c:(.text+0x30): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/sched/core.o: in function `perf_kprobe_event_query': core.c:(.text+0xdf0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/sched/core.o: in function `perf_uprobe_event_query': core.c:(.text+0xe00): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): first defined here ld: kernel/sched/loadavg.o: in function `perf_kprobe_event_query': loadavg.c:(.text+0x0): multiple definition of `perf_kprobe_event_query'; init/main.o:main.c:(.text+0x80): first defined here ld: kernel/sched/loadavg.o: in function `perf_uprobe_event_query': loadavg.c:(.text+0x10): multiple definition of `perf_uprobe_event_query'; init/main.o:main.c:(.text+0x90): 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