diff options
| author | Andrii Nakryiko <[email protected]> | 2021-01-11 23:55:14 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-01-12 15:00:00 -0800 |
| commit | a643bff752dcf72a07e1b2ab2f8587e4f51118be (patch) | |
| tree | 3079c50b235445ff24fcd66c3c2eb6e501512708 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 3218231dbb16cd85d94831759b6c78e6feb54b58 (diff) | |
bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
Add bpf_patch_call_args() prototype. This function is called from BPF verifier
and only if CONFIG_BPF_JIT_ALWAYS_ON is not defined. This fixes compiler
warning about missing prototype in some kernel configurations.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions