diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2023-10-06 16:50:32 +0300 | 
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-10 05:45:15 +0300 | 
| commit | 8cea95b0bd7930367f11e2abceda6e096dd18943 (patch) | |
| tree | e8abb89ef2c13197bd022c3e966e519266c8e6fd /tools/perf/scripts/python/check-perf-trace.py | |
| parent | a4cd2f311a9a51a727db0a5cc535bb223b0e8453 (diff) | |
| download | linux-8cea95b0bd7930367f11e2abceda6e096dd18943.tar.xz | |
tools: ynl-gen: handle do ops with no input attrs
The code supports dumps with no input attributes currently
thru a combination of special-casing and luck.
Clean up the handling of ops with no inputs. Create empty
Structs, and skip printing of empty types.
This makes dos with no inputs work.
Tested-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Link: https://lore.kernel.org/r/20231006135032.3328523-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
