diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2025-03-04 11:50:21 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-15 11:48:29 -0700 |
| commit | 22f8397495ea250d2cebd5a9123ef412395fad18 (patch) | |
| tree | 09ed2033ebe49a26012c1c95b8f406e9a932cc92 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | bpf: jmp_offset() and verbose_insn() utility functions (diff) | |
| download | linux-22f8397495ea250d2cebd5a9123ef412395fad18.tar.gz linux-22f8397495ea250d2cebd5a9123ef412395fad18.zip | |
bpf: get_call_summary() utility function
Refactor mark_fastcall_pattern_for_call() to extract a utility
function get_call_summary(). For a helper or kfunc call this function
fills the following information: {num_params, is_void, fastcall}.
This function would be used in the next patch in order to get number
of parameters of a helper or kfunc call.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250304195024.2478889-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
