perf trace: Setup augmented_args in the raw_syscalls:sys_enter handler
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Sep 2018 19:24:09 +0000 (16:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Sep 2018 19:51:07 +0000 (16:51 -0300)
commitdb2da3f85cd6314321b6a9441a5af8841c93394d
tree8da3b8694e63ab3a1756a37fa6aa572bd0bfa962
parent8a041f86a83f9783ba23a423a2d5a51b48136850
perf trace: Setup augmented_args in the raw_syscalls:sys_enter handler

Without using something to augment the raw_syscalls:sys_enter tracepoint
payload with the pointer contents, this will work just like before, i.e.
the augmented_args arg will be NULL and the augmented_args_size will be
0.

This just paves the way for the next cset where we will associate the
trace__sys_enter tracepoint handler with the augmented "bpf-output"
event named "__augmented_args__".

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-p8uvt2a6ug3uwlhja3cno4la@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c