diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-29 17:41:53 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-30 15:52:20 -0300 |
commit | 403f833d15a33bfd8e50dd79fa8e25fb4aa132f6 (patch) | |
tree | 53041672e1b04584fbab072eec53f8ff844e9be5 /tools/perf/examples | |
parent | d35b168c3dcdf103c2b2d694ad8513a669781703 (diff) | |
download | linux-403f833d15a33bfd8e50dd79fa8e25fb4aa132f6.tar.gz linux-403f833d15a33bfd8e50dd79fa8e25fb4aa132f6.tar.bz2 linux-403f833d15a33bfd8e50dd79fa8e25fb4aa132f6.zip |
perf bpf: Add linux/socket.h to the headers accessible to bpf proggies
So that we don't have to define sockaddr_storage in the
augmented_syscalls.c bpf example when hooking into syscalls needing it,
idea is to mimic the system headers. Eventually we probably need to have
sys/socket.h, etc. Start by having at least linux/socket.h.
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-yhzarcvsjue8pgpvkjhqgioc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples')
0 files changed, 0 insertions, 0 deletions