diff options
author | Song Liu <songliubraving@fb.com> | 2020-07-23 11:06:47 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-25 20:16:35 -0700 |
commit | 1da4864c2b20f81afbb18b2a0b914d0c776331fc (patch) | |
tree | da39dc8da10a5ce4dfd2548f297512d8ac7bbc11 /tools/testing/selftests/bpf/prog_tests/get_stackid_cannot_attach.c | |
parent | d4b4dd6ce7709c2d2fe56dcfc15074ee18505bcb (diff) | |
download | linux-1da4864c2b20f81afbb18b2a0b914d0c776331fc.tar.gz linux-1da4864c2b20f81afbb18b2a0b914d0c776331fc.tar.bz2 linux-1da4864c2b20f81afbb18b2a0b914d0c776331fc.zip |
selftests/bpf: Add callchain_stackid
This tests new helper function bpf_get_stackid_pe and bpf_get_stack_pe.
These two helpers have different implementation for perf_event with PEB
entries.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200723180648.1429892-5-songliubraving@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/get_stackid_cannot_attach.c')
0 files changed, 0 insertions, 0 deletions