Re: [PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-19 Thread Alexei Starovoitov
On 3/19/15 8:50 AM, Steven Rostedt wrote: I'm not going to review the sample code, as I'm a bit strapped for time, and that's more userspace oriented anyway. I'm much more concerned that the kernel modifications are correct. sure. thanks a lot for thorough review! -- To unsubscribe from

Re: [PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-19 Thread Steven Rostedt
I'm not going to review the sample code, as I'm a bit strapped for time, and that's more userspace oriented anyway. I'm much more concerned that the kernel modifications are correct. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-19 Thread Alexei Starovoitov
On 3/19/15 8:50 AM, Steven Rostedt wrote: I'm not going to review the sample code, as I'm a bit strapped for time, and that's more userspace oriented anyway. I'm much more concerned that the kernel modifications are correct. sure. thanks a lot for thorough review! -- To unsubscribe from

Re: [PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-19 Thread Steven Rostedt
I'm not going to review the sample code, as I'm a bit strapped for time, and that's more userspace oriented anyway. I'm much more concerned that the kernel modifications are correct. -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-16 Thread Alexei Starovoitov
tracex1_kern.c - C program compiled into BPF. It attaches to kprobe:netif_receive_skb When skb->dev->name == "lo", it prints sample debug message into trace_pipe via bpf_trace_printk() helper function. tracex1_user.c - corresponding user space component that: - loads bpf program via bpf() syscall

[PATCH v7 tip 5/8] samples: bpf: simple non-portable kprobe filter example

2015-03-16 Thread Alexei Starovoitov
tracex1_kern.c - C program compiled into BPF. It attaches to kprobe:netif_receive_skb When skb-dev-name == lo, it prints sample debug message into trace_pipe via bpf_trace_printk() helper function. tracex1_user.c - corresponding user space component that: - loads bpf program via bpf() syscall -