diff options
author | 2025-05-15 16:16:46 -0700 | |
---|---|---|
committer | 2025-05-16 16:32:05 -0700 | |
commit | 6366d267788fd9dba20d6dff61e3e05d48ddb0b8 (patch) | |
tree | 7b98b7d077e1a9c2081b7dc20b4d770f5852bb0c /tools/perf/scripts/python/stackcollapse.py | |
parent | tools: ynl-gen: submsg: plumb thru an empty type (diff) | |
download | wireguard-linux-6366d267788fd9dba20d6dff61e3e05d48ddb0b8.tar.xz wireguard-linux-6366d267788fd9dba20d6dff61e3e05d48ddb0b8.zip |
tools: ynl-gen: submsg: render the structs
The easiest (or perhaps only sane) way to support submessages in C
is to treat them as if they were nests. Build fake attributes to
that effect in the codegen. Render the submsg as a big nest of all
possible values.
With this in place the main missing part is to hook in the switch
which selects how to parse based on the key.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250515231650.1325372-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions