diff options
| author | Yonghong Song <[email protected]> | 2022-06-06 23:26:21 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-06-07 10:20:43 -0700 |
| commit | dffbbdc2d9889670c30e07d05fc0dd712e8ad430 (patch) | |
| tree | ce814a4d6cdd6538fa7c45f5927da6fa93f78d9f /tools/perf/scripts/python | |
| parent | 8479aa752226bea40b24db277f1f10ab2726f8bb (diff) | |
libbpf: Add enum64 parsing and new enum64 public API
Add enum64 parsing support and two new enum64 public APIs:
btf__add_enum64
btf__add_enum64_value
Also add support of signedness for BTF_KIND_ENUM. The
BTF_KIND_ENUM API signatures are not changed. The signedness
will be changed from unsigned to signed if btf__add_enum_value()
finds any negative values.
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions