diff options
| author | Benjamin Tissoires <[email protected]> | 2024-04-20 11:09:08 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-04-23 18:31:25 -0700 |
| commit | d940c9b94d7e6d9cff288623e3e8bf5fdea98b79 (patch) | |
| tree | 2d9e3416aff6486023963dfb28622aa28f454fd4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | ad2c03e691be3268eefc75ff1d892db3f0e79f62 (diff) | |
bpf: add support for KF_ARG_PTR_TO_WORKQUEUE
Introduce support for KF_ARG_PTR_TO_WORKQUEUE. The kfuncs will use bpf_wq
as argument and that will be recognized as workqueue argument by verifier.
bpf_wq_kern casting can happen inside kfunc, but using bpf_wq in
argument makes life easier for users who work with non-kern type in BPF
progs.
Duplicate process_timer_func into process_wq_func.
meta argument is only needed to ensure bpf_wq_init's workqueue and map
arguments are coming from the same map (map_uid logic is necessary for
correct inner-map handling), so also amend check_kfunc_args() to
match what helpers functions check is doing.
Signed-off-by: Benjamin Tissoires <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions