perf trace augmented_syscalls: Add augmented_sockaddr_syscall_enter()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Aug 2018 19:39:11 +0000 (16:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:20 +0000 (15:52 -0300)
commit24a6c2cd1dbd85bd5624a6d0b05de891d0f07696
tree8dde40fc6b2f2c742f722c02766872faa4ca645e
parentd5a7e6613b00d46a4971e8b69e18e2cfd7b00df3
perf trace augmented_syscalls: Add augmented_sockaddr_syscall_enter()

From the one for 'connect', so that we can use it with sendto and others
that receive a 'struct sockaddr'.

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-8bdqv1q0ndcjl1nqns5r5je2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/examples/bpf/augmented_syscalls.c