Commit 2db2b8c
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 <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240905210520.2252984-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent 1ae497c commit 2db2b8c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5670 | 5670 | | |
5671 | 5671 | | |
5672 | 5672 | | |
5673 | | - | |
| 5673 | + | |
5674 | 5674 | | |
5675 | 5675 | | |
5676 | 5676 | | |
| |||
0 commit comments