diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-02-28 01:30:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-29 02:25:43 +0300 |
commit | d62c5d487cfe41b2d47e790acc72a062308fb0f0 (patch) | |
tree | bbc8c8e71ec9fe4bb1111accf8f8c5dc63cea703 /tools/perf/scripts/python/gecko.py | |
parent | 7600875f295f4591eebbb3744ad5de3b4f8e4117 (diff) | |
download | linux-d62c5d487cfe41b2d47e790acc72a062308fb0f0.tar.xz |
tools: ynl: make yarg the first member of struct ynl_dump_state
All YNL parsing code expects a pointer to struct ynl_parse_arg AKA yarg.
For dump was pass in struct ynl_dump_state, which works fine, because
struct ynl_dump_state and struct ynl_parse_arg have identical layout
for the members that matter.. but it's a bit hacky.
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Link: https://lore.kernel.org/r/20240227223032.1835527-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions