selftests/bpf: Test function_graph tracer and bpf trampoline together
authorAlexei Starovoitov <ast@kernel.org>
Mon, 9 Dec 2019 00:01:14 +0000 (16:01 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 11 Dec 2019 23:19:29 +0000 (15:19 -0800)
commit7f193c2519a3dcfd61cd5e676b2959370f4b15be
tree4791cb467f027a8f445513b02c738e67a9644740
parentb91e014f078e2e4f24778680e28dbbdecc7f0eb9
selftests/bpf: Test function_graph tracer and bpf trampoline together

Add simple test script to execute funciton graph tracer while BPF trampoline
attaches and detaches from the functions being graph traced.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191209000114.1876138-4-ast@kernel.org
tools/testing/selftests/bpf/test_ftrace.sh [new file with mode: 0755]