diff options
author | Donald Hunter <donald.hunter@gmail.com> | 2024-01-30 01:34:52 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-01 08:19:19 +0300 |
commit | e45fee0f49fcbafe9f0f883ef22afb890504a5e6 (patch) | |
tree | dd19417758723c35ad75e4299875c288d287ec2c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a387a921139e07587b0fb93c9c0fec8b6800776d (diff) | |
download | linux-e45fee0f49fcbafe9f0f883ef22afb890504a5e6.tar.xz |
tools/net/ynl: Combine struct decoding logic in ynl
_decode_fixed_header() and NlAttr.as_struct() both implemented struct
decoding logic. Deduplicate the code into newly named _decode_struct()
method.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240129223458.52046-8-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions