Re: [RFC PATCH v5 3/3] bpf: Introduce function for outputing trace event data

2015-07-13 Thread Alexei Starovoitov
On 7/13/15 6:59 PM, He Kuang wrote: There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and other information when the probe point is entered. This patch adds a new

[RFC PATCH v5 3/3] bpf: Introduce function for outputing trace event data

2015-07-13 Thread He Kuang
There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and other information when the probe point is entered. This patch adds a new trace event to establish

Re: [RFC PATCH v5 3/3] bpf: Introduce function for outputing trace event data

2015-07-13 Thread Alexei Starovoitov
On 7/13/15 6:59 PM, He Kuang wrote: There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and other information when the probe point is entered. This patch adds a new

[RFC PATCH v5 3/3] bpf: Introduce function for outputing trace event data

2015-07-13 Thread He Kuang
There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and other information when the probe point is entered. This patch adds a new trace event to establish