bpf: add a test case to test single tp multiple bpf attachment
authorYonghong Song <yhs@fb.com>
Tue, 24 Oct 2017 06:53:09 +0000 (23:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 01:47:47 +0000 (10:47 +0900)
commita678be5cc747bafc8c66f2fe00a103422587a5eb
treec2d0ca52a82c862c8e2a5623ba2d76fdb9a19052
parente87c6bc3852b981e71c757be20771546ce9f76f3
bpf: add a test case to test single tp multiple bpf attachment

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>
samples/bpf/syscall_tp_user.c