diff options
author | 2024-08-08 16:22:30 -0700 | |
---|---|---|
committer | 2024-08-21 10:37:52 -0700 | |
commit | b0cd726f9a8279b33faa5b4b0011df14f331fb33 (patch) | |
tree | a9b245d25a12cf4eedacd62ca1afe12167119567 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: allow passing struct bpf_iter_<type> as kfunc arguments (diff) | |
download | wireguard-linux-b0cd726f9a8279b33faa5b4b0011df14f331fb33.tar.xz wireguard-linux-b0cd726f9a8279b33faa5b4b0011df14f331fb33.zip |
selftests/bpf: test passing iterator to a kfunc
Define BPF iterator "getter" kfunc, which accepts iterator pointer as
one of the arguments. Make sure that argument passed doesn't have to be
the very first argument (unlike new-next-destroy combo).
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240808232230.2848712-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions