commit | a396eda5517ac958fb4eb7358f4708eb829058c4 | [log] [tgz] |
---|---|---|
author | Daniel Xu <dxu@dxuuu.xyz> | Mon Aug 23 19:43:48 2021 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Aug 25 10:37:05 2021 -0700 |
tree | a709d88f5714c1737f4100b3ec58d61671b2758f | |
parent | 33c5cb36015ac1034b50b823fae367e908d05147 [diff] |
bpf: Extend bpf_base_func_proto helpers with bpf_get_current_task_btf() bpf_get_current_task() is already supported so it's natural to also include the _btf() variant for btf-powered helpers. This is required for non-tracing progs to use bpf_task_pt_regs() in the next commit. Signed-off-by: Daniel Xu <dxu@dxuuu.xyz> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/f99870ed5f834c9803d73b3476f8272b1bb987c0.1629772842.git.dxu@dxuuu.xyz