diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2025-04-23 11:23:33 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-04-23 11:26:51 -0700 |
commit | b9c09fb206a781b8933f93f530b9c03877dcef8b (patch) | |
tree | 069ebbc45d075ca64ca315272e816b911913f568 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6aca583f90b0eb159cfd79c1b7f28d7c0108aed6 (diff) | |
parent | 4c0a42c50021ee509f159c1f8a22efb35987c941 (diff) |
Merge branch 'bpf-allow-access-to-const-void-pointer-arguments-in-tracing-programs'
KaFai Wan says:
====================
bpf: Allow access to const void pointer arguments in tracing programs
If we try to access argument which is pointer to const void, it's an
UNKNOWN type, verifier will fail to load.
Use is_void_or_int_ptr to check if type is void or int pointer.
Add a selftest to check it.
---
====================
Link: https://patch.msgid.link/20250423121329.3163461-1-mannkafai@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions