diff options
author | Florent Revest <[email protected]> | 2021-04-19 17:52:41 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-19 15:27:37 -0700 |
commit | 83cd92b46484aa8f64cdc0bff8ac6940d1f78519 (patch) | |
tree | 6c622011982541acb65db2048999e6db1d4f3c9b /scripts/gdb/linux/timerlist.py | |
parent | 7b15523a989b63927c2bb08e9b5b0bbc10b58bef (diff) |
libbpf: Initialize the bpf_seq_printf parameters array field by field
When initializing the __param array with a one liner, if all args are
const, the initial array value will be placed in the rodata section but
because libbpf does not support relocation in the rodata section, any
pointer in this array will stay NULL.
Fixes: c09add2fbc5a ("tools/libbpf: Add bpf_iter support")
Signed-off-by: Florent Revest <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions