aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2020-07-23 11:06:48 -0700
committerAlexei Starovoitov <[email protected]>2020-07-25 20:16:35 -0700
commit346938e9380cc0b2ad8e2566389cdc570386fe22 (patch)
treec87d99dabe2c42a178399bffc9c9e94c2be496a2 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
parent1da4864c2b20f81afbb18b2a0b914d0c776331fc (diff)
selftests/bpf: Add get_stackid_cannot_attach
This test confirms that BPF program that calls bpf_get_stackid() cannot attach to perf_event with precise_ip > 0 but not PERF_SAMPLE_CALLCHAIN; and cannot attach if the perf_event has exclude_callchain_kernel. Signed-off-by: Song Liu <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions