diff options
author | Alexei Starovoitov <[email protected]> | 2023-12-15 16:45:49 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-12-18 12:00:37 +0100 |
commit | 0c970ed2f87c058fe3ddeb4d7d8f64f72cf41d7a (patch) | |
tree | fbc54c4fe55753c3fb80e6832782007a0f6ef186 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 42d45c45624a098a9fdc477c7a8b86167f948c77 (diff) |
s390/bpf: Fix indirect trampoline generation
The func_addr used to be NULL for indirect trampolines used by struct_ops.
Now func_addr is a valid function pointer.
Hence use BPF_TRAMP_F_INDIRECT flag to detect such condition.
Fixes: 2cd3e3772e41 ("x86/cfi,bpf: Fix bpf_struct_ops CFI")
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Ilya Leoshkevich <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions