diff options
| author | Andrii Nakryiko <andriin@fb.com> | 2019-11-02 01:28:08 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-04 18:06:56 +0300 |
| commit | 94f060e98495e26fd02e18c14e78c61f0d643fd6 (patch) | |
| tree | 268a181aa151235586834f3cc4212c6d1d18107e /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | ee26dade0e3bcd8a34ae7520e373fb69365fce7a (diff) | |
| download | linux-94f060e98495e26fd02e18c14e78c61f0d643fd6.tar.xz | |
libbpf: Add support for field size relocations
Add bpf_core_field_size() macro, capturing a relocation against field size.
Adjust bits of internal libbpf relocation logic to allow capturing size
relocations of various field types: arrays, structs/unions, enums, etc.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191101222810.1246166-4-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
