This series add support to libtraceevent for dynamic arrays in traces.
The kernel learned to create this traces in 6ea22486ba46 ("tracing: Add
array printing helper"), which was merged for v4.0-rc1.
Changes since v7[0]:
- Call the fields of the struct print_arg_int_array "field", "count"
and "el_size" to match the definition of __print_array as Namhyung
Kim suggests. Incorporate his Acked-by.
Changes since v6[1]:
- s/alloc_and_process_arg/alloc_and_process_delim/ as Steven
Rostedt suggests
[0] http://thread.gmane.org/gmane.linux.kernel/1897935
[1] http://thread.gmane.org/gmane.linux.kernel/1896232
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array()
tools/lib/traceevent/event-parse.c | 158 +++++++++++++++++++++++++++++--------
tools/lib/traceevent/event-parse.h | 8 ++
2 files changed, 135 insertions(+), 31 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/