diff options
author | He Kuang <hekuang@huawei.com> | 2015-08-29 04:22:05 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-02 16:30:46 -0300 |
commit | 76055940c1afc8d445992fb0278b80cf205bbf97 (patch) | |
tree | 7b46fdeb5a7bfdbd7de410baf8e2b86fca7eec15 /fs/ntfs | |
parent | dabf626f7f0e5cbef0d1cfb5143e40213f079bb8 (diff) | |
download | linux-76055940c1afc8d445992fb0278b80cf205bbf97.tar.gz linux-76055940c1afc8d445992fb0278b80cf205bbf97.tar.bz2 linux-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 <hekuang@huawei.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1440822125-52691-32-git-send-email-wangnan0@huawei.com
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions