summaryrefslogtreecommitdiffstats
path: root/samples/bpf/syscall_tp_user.c
Commit message (Collapse)AuthorAgeFilesLines
* samples: bpf: include bpf/bpf.h instead of local libbpf.hJakub Kicinski2018-05-141-1/+1
| | | | | | | | | | | There are two files in the tree called libbpf.h which is becoming problematic. Most samples don't actually need the local libbpf.h they simply include it to get to bpf/bpf.h. Include bpf/bpf.h directly instead. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
* bpf: add a test case to test single tp multiple bpf attachmentYonghong Song2017-10-251-13/+53
| | | | | | | | | | | The bpf sample program syscall_tp is modified to show attachment of more than bpf programs for a particular kernel tracepoint. Signed-off-by: Yonghong Song <yhs@fb.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* bpf: add a test case for syscalls/sys_{enter|exit}_* tracepointsYonghong Song2017-08-071-0/+71
Signed-off-by: Yonghong Song <yhs@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>