diff options
author | 2025-05-15 16:16:44 -0700 | |
---|---|---|
committer | 2025-05-16 16:32:05 -0700 | |
commit | 99b76908a7a3df629a83555333ce0b97824e4734 (patch) | |
tree | 05c3a37e08a70c09a0f105578d09d62da0273083 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | tools: ynl-gen: factor out the annotation of pure nested struct (diff) | |
download | wireguard-linux-99b76908a7a3df629a83555333ce0b97824e4734.tar.xz wireguard-linux-99b76908a7a3df629a83555333ce0b97824e4734.zip |
tools: ynl-gen: prepare for submsg structs
Prepare for constructing Struct() instances which represent
sub-messages rather than nested attributes.
Restructure the code / indentation to more easily insert
a case where nested reference comes from annotation other
than the 'nested-attributes' property. Make sure we don't
construct the Struct() object from scratch in multiple
places as the constructor will soon have more arguments.
This should cause no functional change.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250515231650.1325372-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions