diff options
| author | Andrii Nakryiko <[email protected]> | 2020-03-03 10:08:00 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-03 16:41:36 -0800 |
| commit | 320a36063e1441210106aa33997ad3770d4c86b4 (patch) | |
| tree | a8b7de3d5af8f83f95546557c6a888d52396ca94 /tools/perf/scripts/python | |
| parent | 5fc40f37396cec199d40a417df74b39c8e458ca6 (diff) | |
libbpf: Fix handling of optional field_name in btf_dump__emit_type_decl
Internal functions, used by btf_dump__emit_type_decl(), assume field_name is
never going to be NULL. Ensure it's always the case.
Fixes: 9f81654eebe8 ("libbpf: Expose BTF-to-C type declaration emitting API")
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')
0 files changed, 0 insertions, 0 deletions