Re: [RFC PATCH v5 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-17 Thread pi3orama
发自我的 iPhone > 在 2015年7月17日,下午10:36,Steven Rostedt 写道: > > > Is this dependent on patch 1? Because I'm not sure that's going to be > the ending fix. > > > On Fri, 17 Jul 2015 11:36:54 +0800 > "Wangnan (F)" wrote: > >> Here is a small problem in this patch that, it only updates >> trace-ev

Re: [RFC PATCH v5 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-17 Thread Steven Rostedt
Is this dependent on patch 1? Because I'm not sure that's going to be the ending fix. On Fri, 17 Jul 2015 11:36:54 +0800 "Wangnan (F)" wrote: > Here is a small problem in this patch that, it only updates > trace-event-python.c, leaves > trace-event-perf.c unchanged. If CONFIG_LIBPERL is on,

Re: [RFC PATCH v5 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-16 Thread Wangnan (F)
On 2015/7/14 9:59, He Kuang wrote: To print a trace event with a dynamic array, __print_array(array, len, element_size) requires the number of items in the array, which can be got by the helper function __get_dynamic_array_len(), currently it is not an available function in the function list in

[RFC PATCH v5 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-13 Thread He Kuang
To print a trace event with a dynamic array, __print_array(array, len, element_size) requires the number of items in the array, which can be got by the helper function __get_dynamic_array_len(), currently it is not an available function in the function list in process_function(). Add new arg type