Re: [PATCH bpf-next v6 0/2] bpf stackmap with build_id+offset

2018-03-14 Thread Song Liu
> On Mar 14, 2018, at 5:29 PM, Daniel Borkmann wrote: > > On 03/14/2018 06:23 PM, Song Liu wrote: >> Changes v4 -> v6: >> >> 1. When kernel stack is added to stackmap with build_id, use fallback >> mechanism to store ip (status == BPF_STACK_BUILD_ID_IP). >> >> Changes v4 -> v5: >> >> 1. On

Re: [PATCH bpf-next v6 0/2] bpf stackmap with build_id+offset

2018-03-14 Thread Daniel Borkmann
On 03/14/2018 06:23 PM, Song Liu wrote: > Changes v4 -> v6: > > 1. When kernel stack is added to stackmap with build_id, use fallback >mechanism to store ip (status == BPF_STACK_BUILD_ID_IP). > > Changes v4 -> v5: > > 1. Only allow build_id lookup in non-nmi context. Added comment and >c

[PATCH bpf-next v6 0/2] bpf stackmap with build_id+offset

2018-03-14 Thread Song Liu
Changes v4 -> v6: 1. When kernel stack is added to stackmap with build_id, use fallback mechanism to store ip (status == BPF_STACK_BUILD_ID_IP). Changes v4 -> v5: 1. Only allow build_id lookup in non-nmi context. Added comment and commit message to highlight this limitation. 2. Minor fix r