diff options
author | Jakub Kicinski <[email protected]> | 2023-12-13 15:14:30 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-14 17:51:21 -0800 |
commit | aa75783b95a1e7fc09129f5364476e6effe47392 (patch) | |
tree | 9771a3342a81aead964f26bc443af265fd918510 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 38329fcfb757b8215c07a77b6657721cc7e9530e (diff) |
tools: ynl-gen: re-sort ignoring recursive nests
We try to keep the structures and helpers "topologically sorted",
to avoid forward declarations. When recursive nests are at play
we need to sort twice, because structs which end up being marked
as recursive will get a full set of forward declarations, so we
should ignore them for the purpose of sorting.
Reviewed-by: Donald Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions