Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf

2015-08-18 Thread Wangnan (F)
On 2015/8/14 5:49, Alexei Starovoitov wrote: On 8/13/15 2:35 PM, pi3orama wrote: I was thinking about whether to add a "type" field there, so we will have an explicit mov const instruction before the call instruction, which can act as a mark. Also, if we generate the type code automatically,

Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf

2015-08-13 Thread Alexei Starovoitov
On 8/13/15 2:35 PM, pi3orama wrote: I was thinking about whether to add a "type" field there, so we will have an explicit mov const instruction before the call instruction, which can act as a mark. Also, if we generate the type code automatically, a type field in this API can make things easie

Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf

2015-08-13 Thread pi3orama
发自我的 iPhone > 在 2015年8月14日,上午5:27,Alexei Starovoitov 写道: > >> On 7/20/15 8:08 PM, He Kuang wrote: >> Hi, >> >> Previous patch v5 url: >> http://thread.gmane.org/gmane.linux.kernel/1995274 >> >> The bugfix of dynamic array length in trace event goes to >> kernel/git/rostedt/linux-trace.git ft

Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf

2015-08-13 Thread Alexei Starovoitov
On 7/20/15 8:08 PM, He Kuang wrote: Hi, Previous patch v5 url: http://thread.gmane.org/gmane.linux.kernel/1995274 The bugfix of dynamic array length in trace event goes to kernel/git/rostedt/linux-trace.git ftrace/urgent and confirms that the return value of __get_dynamic_array_len() is the tot

[RFC PATCH v6 0/2] Make eBPF programs output data to perf

2015-07-20 Thread He Kuang
Hi, Previous patch v5 url: http://thread.gmane.org/gmane.linux.kernel/1995274 The bugfix of dynamic array length in trace event goes to kernel/git/rostedt/linux-trace.git ftrace/urgent and confirms that the return value of __get_dynamic_array_len() is the total allocated length of the dynamic arr