diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-08-05 23:08:10 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-08-05 11:40:10 -0700 |
| commit | 045809795751897ebbb82ab775edd8a3d040d66f (patch) | |
| tree | 51321a7bea20596918e85a5592f321a32fd03a26 /tools/perf/scripts/python/bin/event_analyzing_sample-report | |
| parent | 00244bdaa423d93f4571f3f6854378ce3365e524 (diff) | |
selftests/bpf: Verify rejection of sleepable tracing prog
Add a test to verify that the sleepable tracing prog cannot attach to a
'__x64_sys' prefix prog target.
When CONFIG_FUNCTION_ERROR_INJECTION is disabled, without the fix, the
test would trigger the BUG:
[ 3.460756] BUG: sleeping function called from invalid context at kernel/bpf/trampoline.c:1324
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260805150810.34907-3-leon.hwang@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin/event_analyzing_sample-report')
0 files changed, 0 insertions, 0 deletions
