aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-09-05 21:05:20 +0000
committerAlexei Starovoitov <[email protected]>2024-09-05 23:58:51 +0000
commit2db2b8cb8f96bb1def9904abbc859d95e3fbf99c (patch)
tree1de50f1aa2169ef52af4f3c2bf745928f39b259a /tools/lib/bpf/libbpf.c
parentbpf: use type_may_be_null() helper for nullable-param check (diff)
downloadkernel-2db2b8cb8f96bb1def9904abbc859d95e3fbf99c.tar.gz
kernel-2db2b8cb8f96bb1def9904abbc859d95e3fbf99c.zip
bpf: change int cmd argument in __sys_bpf into typed enum bpf_cmd
This improves BTF data recorded about this function and makes debugging/tracing better, because now command can be displayed as symbolic name, instead of obscure number. 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 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions