Re: [PATCH bpf-next 07/10] bpf: btf: Add pretty print support to the basic arraymap

2018-03-31 Thread Martin KaFai Lau
On Sat, Mar 31, 2018 at 05:12:36PM +0800, kbuild test robot wrote: > Hi Martin, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on bpf-next/master] > > url: > https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/BTF-BPF-Type-Format/20180331-144656

Re: [PATCH bpf-next 07/10] bpf: btf: Add pretty print support to the basic arraymap

2018-03-31 Thread kbuild test robot
Hi Martin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/BTF-BPF-Type-Format/20180331-144656 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master re

[PATCH bpf-next 07/10] bpf: btf: Add pretty print support to the basic arraymap

2018-03-30 Thread Martin KaFai Lau
This patch adds pretty print support to the basic arraymap. Support for other bpf maps can be added later. This patch adds new attrs to the BPF_MAP_CREATE command to allow specifying the btf_fd, btf_key_id and btf_value_id. The BPF_MAP_CREATE can then associate the btf to the map if the creating