Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Wangnan (F)
On 2015/11/30 17:43, Namhyung Kim wrote: On November 30, 2015 6:27:57 PM GMT+09:00, "Wangnan (F)" wrote: On 2015/11/30 16:51, Namhyung Kim wrote: On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Namhyung Kim
On November 30, 2015 6:27:57 PM GMT+09:00, "Wangnan (F)" wrote: > > >On 2015/11/30 16:51, Namhyung Kim wrote: >> On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: >>> >>> On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Wangnan (F)
On 2015/11/30 16:51, Namhyung Kim wrote: On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: This patch collects name of maps in BPF object files and saves them into 'maps'

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Namhyung Kim
On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: > > > On 2015/11/30 0:14, Namhyung Kim wrote: > >Hi Wang, > > > >On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: > >>This patch collects name of maps in BPF object files and saves them into > >>'maps' field in 'struct

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Namhyung Kim
On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: > > > On 2015/11/30 0:14, Namhyung Kim wrote: > >Hi Wang, > > > >On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: > >>This patch collects name of maps in BPF object files and saves them into > >>'maps' field in 'struct

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Wangnan (F)
On 2015/11/30 17:43, Namhyung Kim wrote: On November 30, 2015 6:27:57 PM GMT+09:00, "Wangnan (F)" wrote: On 2015/11/30 16:51, Namhyung Kim wrote: On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri,

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Wangnan (F)
On 2015/11/30 16:51, Namhyung Kim wrote: On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: This patch collects name of maps in BPF object files and saves them into 'maps'

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-30 Thread Namhyung Kim
On November 30, 2015 6:27:57 PM GMT+09:00, "Wangnan (F)" wrote: > > >On 2015/11/30 16:51, Namhyung Kim wrote: >> On Mon, Nov 30, 2015 at 01:00:46PM +0800, Wangnan (F) wrote: >>> >>> On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-29 Thread Wangnan (F)
On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: This patch collects name of maps in BPF object files and saves them into 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is introduced to retrive fd and definitions

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-29 Thread Namhyung Kim
Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: > This patch collects name of maps in BPF object files and saves them into > 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is > introduced to retrive fd and definitions of a map through its name. > >

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-29 Thread Namhyung Kim
Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: > This patch collects name of maps in BPF object files and saves them into > 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is > introduced to retrive fd and definitions of a map through its name. > >

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-29 Thread Wangnan (F)
On 2015/11/30 0:14, Namhyung Kim wrote: Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: This patch collects name of maps in BPF object files and saves them into 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is introduced to retrive fd and definitions

[PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-27 Thread Wang Nan
This patch collects name of maps in BPF object files and saves them into 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is introduced to retrive fd and definitions of a map through its name. Signed-off-by: Wang Nan Signed-off-by: He Kuang Cc: Alexei Starovoitov Cc: Arnaldo

[PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-27 Thread Wang Nan
This patch collects name of maps in BPF object files and saves them into 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is introduced to retrive fd and definitions of a map through its name. Signed-off-by: Wang Nan Signed-off-by: He Kuang