diff options
author | Song Liu <song@kernel.org> | 2023-11-06 20:57:25 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-09 19:07:38 -0800 |
commit | 045edee19d591e59ed53772bf6dfc9b1ed9577eb (patch) | |
tree | c43ffde215600c1540057a1cb6680d5ac23e90fd /Documentation/scheduler/sched-pelt.c | |
parent | 0b51940729150e807fc4b7767164e6bb6cf4f7dd (diff) |
bpf: Introduce KF_ARG_PTR_TO_CONST_STR
Similar to ARG_PTR_TO_CONST_STR for BPF helpers, KF_ARG_PTR_TO_CONST_STR
specifies kfunc args that point to const strings. Annotation "__str" is
used to specify kfunc arg of type KF_ARG_PTR_TO_CONST_STR. Also, add
documentation for the "__str" annotation.
bpf_get_file_xattr() will be the first kfunc that uses this type.
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://lore.kernel.org/bpf/20231107045725.2278852-4-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/scheduler/sched-pelt.c')
0 files changed, 0 insertions, 0 deletions