aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-02-12 15:32:18 -0800
committerAlexei Starovoitov <[email protected]>2024-02-13 18:46:46 -0800
commitfb5b86cfd4ef21ea18966718f6bf6c8f1b9df12e (patch)
treeeb856ee133bdfa5517d4e25a7331ce560ba56b22 /scripts/gdb/linux/vmalloc.py
parent32e18e7688c6847b0c9db073aafb00639ecf576c (diff)
bpf: simplify btf_get_prog_ctx_type() into btf_is_prog_ctx_type()
Return result of btf_get_prog_ctx_type() is never used and callers only check NULL vs non-NULL case to determine if given type matches expected PTR_TO_CTX type. So rename function to `btf_is_prog_ctx_type()` and return a simple true/false. We'll use this simpler interface to handle kprobe program type's special typedef case in the next patch. Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions