diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-04-10 04:46:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-11 06:14:41 +0300 |
commit | e0a7903c323f37a71dcdafafa749dfb3beedff3c (patch) | |
tree | 6e2a8ba0d7bb3e1db08129ab9a729e276b4dad27 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 17b3ce292dcbf1aaface3d42859cff0e1dfd3bb6 (diff) | |
download | linux-e0a7903c323f37a71dcdafafa749dfb3beedff3c.tar.xz |
tools: ynl-gen: don't consider requests with fixed hdr empty
C codegen skips generating the structs if request/reply has no attrs.
In such cases the request op takes no argument and return int
(rather than response struct). In case of classic netlink a lot of
information gets passed using the fixed struct, however, so adjust
the logic to consider a request empty only if it has no attrs _and_
no fixed struct.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250410014658.782120-9-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