bpf: Update descriptions for helpers bpf_get_func_arg[_cnt]()
authorYonghong Song <yhs@fb.com>
Wed, 31 Aug 2022 15:26:57 +0000 (08:26 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 7 Sep 2022 02:51:14 +0000 (19:51 -0700)
commit27ed9353aec9de4277b3389c9f2b04beb6ab7622
tree3b2be95b1575b364a1fd5b917b44e32f2baf3dee
parenta9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2
bpf: Update descriptions for helpers bpf_get_func_arg[_cnt]()

Now instead of the number of arguments, the number of registers
holding argument values are stored in trampoline. Update
the description of bpf_get_func_arg[_cnt]() helpers. Previous
programs without struct arguments should continue to work
as usual.

Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220831152657.2078805-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h