diff options
| author | Yonghong Song <[email protected]> | 2024-11-12 16:39:27 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-13 00:26:25 +0000 |
| commit | f4b295ab65980435d7dc8b12d110387d1d1c653c (patch) | |
| tree | 28dd5f424c77b5b523adc83208018a0327fe7ec9 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
| parent | bpf, x86: Support private stack in jit (diff) | |
| download | kernel-f4b295ab65980435d7dc8b12d110387d1d1c653c.tar.gz kernel-f4b295ab65980435d7dc8b12d110387d1d1c653c.zip | |
selftests/bpf: Add tracing prog private stack tests
Some private stack tests are added including:
- main prog only with stack size greater than BPF_PSTACK_MIN_SIZE.
- main prog only with stack size smaller than BPF_PSTACK_MIN_SIZE.
- prog with one subprog having MAX_BPF_STACK stack size and another
subprog having non-zero small stack size.
- prog with callback function.
- prog with exception in main prog or subprog.
- prog with async callback without nesting
- prog with async callback with possible nesting
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions
