diff options
author | Alexei Starovoitov <[email protected]> | 2024-10-09 16:32:47 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-10-09 16:32:47 -0700 |
commit | 830b8e49424b15ca469e2a5b162c9ee818a113c6 (patch) | |
tree | 9c608a91d62af4614fd05f8ac7ea1034e5385a35 /tools/perf/scripts/python/parallel-perf.py | |
parent | b24d7f0da6ef5a23456a301eaf51b170f961d4ae (diff) | |
parent | c456f08040589a5096481277c83168a4e7ae7ed7 (diff) |
Merge branch 'check-the-remaining-info_cnt-before-repeating-btf-fields'
Hou Tao says:
====================
Check the remaining info_cnt before repeating btf fields
From: Hou Tao <[email protected]>
Hi,
The patch set adds the missed check again info_cnt when flattening the
array of nested struct. The problem was spotted when developing dynptr
key support for hash map. Patch #1 adds the missed check and patch #2
adds three success test cases and one failure test case for the problem.
Comments are always welcome.
Change Log:
v2:
* patch #1: check info_cnt in btf_repeat_fields()
* patch #2: use a hard-coded number instead of BTF_FIELDS_MAX, because
BTF_FIELDS_MAX is not always available in vmlinux.h (e.g.,
for llvm 17/18)
v1: https://lore.kernel.org/bpf/[email protected]/T/#t
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions