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 array. For we print the bpf output data in byte array from patch v5, that problem does not affect our patch any more, but some comments in patch 1/2 is updated. Patch 2/2 is acked by Alexei. Thank you. He Kuang (2): tools lib traceevent: Support function __get_dynamic_array_len bpf: Introduce function for outputing data to perf event include/trace/events/bpf.h | 30 ++++++++++++ include/uapi/linux/bpf.h | 7 +++ kernel/trace/bpf_trace.c | 23 +++++++++ samples/bpf/bpf_helpers.h | 2 + tools/lib/traceevent/event-parse.c | 56 +++++++++++++++++++++- tools/lib/traceevent/event-parse.h | 1 + .../perf/util/scripting-engines/trace-event-perl.c | 1 + .../util/scripting-engines/trace-event-python.c | 1 + 8 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 include/trace/events/bpf.h -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/