diff options
| author | Andrii Nakryiko <[email protected]> | 2021-01-11 23:55:15 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-01-12 15:00:01 -0800 |
| commit | 6943c2b05bf09fd5c5729f7d7d803bf3f126cb9a (patch) | |
| tree | 5375cf60cc7a35acb13be538d1d3abef3d74e05a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a643bff752dcf72a07e1b2ab2f8587e4f51118be (diff) | |
bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
BPF interpreter uses extra input argument, so re-casts __bpf_call_base into
__bpf_call_base_args. Avoid compiler warning about incompatible function
prototypes by casting to void * first.
Fixes: 1ea47e01ad6e ("bpf: add support for bpf_call to interpreter")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions