diff options
author | Song Liu <[email protected]> | 2023-11-06 20:57:25 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 19:07:38 -0800 |
commit | 045edee19d591e59ed53772bf6dfc9b1ed9577eb (patch) | |
tree | c43ffde215600c1540057a1cb6680d5ac23e90fd /tools/perf/scripts/python/event_analyzing_sample.py | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Vadim Fedorenko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions