aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorHe Kuang <[email protected]>2015-08-29 04:22:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-09-02 19:30:46 +0000
commit76055940c1afc8d445992fb0278b80cf205bbf97 (patch)
tree7b46fdeb5a7bfdbd7de410baf8e2b86fca7eec15 /tools/lib/api/fs/tracing_path.c
parentperf tools: Copy linux/filter.h to tools/include (diff)
downloadkernel-76055940c1afc8d445992fb0278b80cf205bbf97.tar.gz
kernel-76055940c1afc8d445992fb0278b80cf205bbf97.zip
tools lib traceevent: Support function __get_dynamic_array_len
Support helper function __get_dynamic_array_len() in libtraceevent, this function is used accompany with __print_array() or __print_hex(), but currently it is not an available function in the function list of process_function(). The total allocated length of the dynamic array is embedded in the top half of __data_loc_##item field. This patch adds new arg type PRINT_DYNAMIC_ARRAY_LEN to return the length to eval_num_arg(), Signed-off-by: He Kuang <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Wang Nan <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Wang Nan <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions