Re: [PATCH net-next] bpf: fix build warnings and add function read_trace_pipe()

2015-08-12 Thread David Miller
From: Kaixu Xia Date: Wed, 12 Aug 2015 09:37:53 + > There are two improvements in this patch: > 1. Fix the build warnings; > 2. Add function read_trace_pipe() to print the result on > the screen; > > Before this patch, we can get the result through /sys/kernel/de > bug/tracing/trace_pi

Re: [PATCH net-next] bpf: fix build warnings and add function read_trace_pipe()

2015-08-12 Thread Alexei Starovoitov
On 8/12/15 2:37 AM, Kaixu Xia wrote: There are two improvements in this patch: 1. Fix the build warnings; 2. Add function read_trace_pipe() to print the result on the screen; Before this patch, we can get the result through /sys/kernel/de bug/tracing/trace_pipe and get nothing on the sc

[PATCH net-next] bpf: fix build warnings and add function read_trace_pipe()

2015-08-12 Thread Kaixu Xia
There are two improvements in this patch: 1. Fix the build warnings; 2. Add function read_trace_pipe() to print the result on the screen; Before this patch, we can get the result through /sys/kernel/de bug/tracing/trace_pipe and get nothing on the screen. By applying this patch, the result c