Hi Andrii, I love your patch! Yet something to improve: [auto build test ERROR on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Andrii-Nakryiko/BPF-perf-link-and-user-provided-context-value/20210726-014304 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: nds32-defconfig (attached as .config) compiler: nds32le-linux-gcc (GCC) 10.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://github.com/0day-ci/linux/commit/7832c315a55580b578d21777a0c9476c62edd503 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Andrii-Nakryiko/BPF-perf-link-and-user-provided-context-value/20210726-014304 git checkout 7832c315a55580b578d21777a0c9476c62edd503 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> kernel/events/core.c:10073:5: error: conflicting types for 'perf_event_set_bpf_prog' 10073 | int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/syscall.h:7, from include/linux/syscalls.h:87, from kernel/events/core.c:34: include/linux/trace_events.h:807:5: note: previous declaration of 'perf_event_set_bpf_prog' was here 807 | int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 user_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/perf_event_set_bpf_prog +10073 kernel/events/core.c 6fb2915df7f074 kernel/perf_event.c Li Zefan 2009-10-15 10072 aebdacfee76037 kernel/events/core.c Andrii Nakryiko 2021-07-25 @10073 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog) 2541517c32be25 kernel/events/core.c Alexei Starovoitov 2015-03-25 10074 { 2541517c32be25 kernel/events/core.c Alexei Starovoitov 2015-03-25 10075 return -ENOENT; 2541517c32be25 kernel/events/core.c Alexei Starovoitov 2015-03-25 10076 } 2541517c32be25 kernel/events/core.c Alexei Starovoitov 2015-03-25 10077 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org