diff options
author | Andrii Nakryiko <[email protected]> | 2019-10-15 11:28:47 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-10-15 16:06:05 -0700 |
commit | 62561eb442bd095f06534ce637b116b278e5e912 (patch) | |
tree | 02791f42e5e643fafd896b0d1492f581835b28cb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 291ee02b5e407eb1eb99c9eeaa968ef8a0c16949 (diff) |
libbpf: Add support for field existance CO-RE relocation
Add support for BPF_FRK_EXISTS relocation kind to detect existence of
captured field in a destination BTF, allowing conditional logic to
handle incompatible differences between kernels.
Also introduce opt-in relaxed CO-RE relocation handling option, which
makes libbpf emit warning for failed relocations, but proceed with other
relocations. Instruction, for which relocation failed, is patched with
(u32)-1 value.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[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