Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 9:48, Wangnan (F) wrote: On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: > In this patch, a series libbpf specific error numbers and > libbpf_strerror() are created to help reporting error to caller. > Functions are updated to pass correct error number through macro > CHECK_ERR(). > > All users of

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: > In this patch, a series libbpf specific error numbers and > libbpf_strerror() are created to help reporting error to caller. > Functions are updated to pass correct error number through macro > CHECK_ERR(). > > All users of

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 9:48, Wangnan (F) wrote: On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are

Re: [PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-04 Thread Wangnan (F)
On 2015/11/5 6:01, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 04, 2015 at 02:25:58AM +, Wang Nan escreveu: In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through

[PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-03 Thread Wang Nan
In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through macro CHECK_ERR(). All users of bpf_object__open{_buffer}() and bpf_program__title() in perf are modified

[PATCH v2 3/4] bpf tools: Improve libbpf error reporting

2015-11-03 Thread Wang Nan
In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through macro CHECK_ERR(). All users of bpf_object__open{_buffer}() and bpf_program__title() in perf are modified