Thread (5 messages) 5 messages, 2 authors, 2016-04-18

Re: [PATCH net-next 2/2] bpf: add event output helper for notifications/sampling/logging

flat view

From: kbuild test robot <hidden>
Date: 2016-04-17 23:56:13
Also in: lkml

Hi Daniel,

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

url:    https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-trace-add-BPF_F_CURRENT_CPU-flag-for-bpf_perf_event_output/20160418-063147
config: m68k-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   net/core/filter.c: In function 'bpf_skb_event_output':
quoted
net/core/filter.c:1599:2: error: implicit declaration of function 'perf_fetch_caller_regs' [-Werror=implicit-function-declaration]
     perf_fetch_caller_regs(regs);
     ^
   cc1: some warnings being treated as errors

vim +/perf_fetch_caller_regs +1599 net/core/filter.c

  1593	static DEFINE_PER_CPU(struct pt_regs, bpf_pt_regs);
  1594	
  1595	static u64 bpf_skb_event_output(u64 r1, u64 r2, u64 flags, u64 r4, u64 size)
  1596	{
  1597		struct pt_regs *regs = this_cpu_ptr(&bpf_pt_regs);
  1598	
1599		perf_fetch_caller_regs(regs);
  1600	
  1601		return bpf_perf_event_output((long)regs, r2, flags, r4, size);
  1602	}

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help