Re: [PATCH perf/core 0/6] Libbpf improvements

2017-01-22 Thread Joe Stringer
On 19 January 2017 at 02:24, Wangnan (F) wrote: > > > On 2017/1/19 7:57, Joe Stringer wrote: >> >> Patch 1 fixes an issue when using drastically different BPF map >> definitions >> inside ELFs from a client using libbpf, vs the map definition libbpf uses. >> >> Patch 2 is a trivial typo fix. >> >>

Re: [PATCH perf/core 0/6] Libbpf improvements

2017-01-19 Thread Wangnan (F)
On 2017/1/19 7:57, Joe Stringer wrote: Patch 1 fixes an issue when using drastically different BPF map definitions inside ELFs from a client using libbpf, vs the map definition libbpf uses. Patch 2 is a trivial typo fix. Patches 3-5 add some simple, useful helper functions for setting prog ty

[PATCH perf/core 0/6] Libbpf improvements

2017-01-18 Thread Joe Stringer
Patch 1 fixes an issue when using drastically different BPF map definitions inside ELFs from a client using libbpf, vs the map definition libbpf uses. Patch 2 is a trivial typo fix. Patches 3-5 add some simple, useful helper functions for setting prog type and retrieving libbpf errors without dep