Hi Yonghong,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Yonghong-Song/bpf-permit-multiple-bpf-attachments-for-a-single-perf-tracepoint-event/20171024-080608
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
make.cross ARCH=arm
All errors (new ones prefixed by >>):
kernel/events/core.o: In function `_free_event':quoted
kernel/events/core.c:8193: undefined reference to `perf_event_detach_bpf_prog'
kernel/events/core.o:(.debug_addr+0x25c): undefined reference to `perf_event_detach_bpf_prog'
vim +8193 kernel/events/core.c
8186
8187 static void perf_event_free_bpf_prog(struct perf_event *event)
8188 {
8189 if (event->attr.type != PERF_TYPE_TRACEPOINT) {
8190 perf_event_free_bpf_handler(event);
8191 return;
8192 }8193 perf_event_detach_bpf_prog(event);
8194 }
8195
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation