summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-12-13 15:14:30 -0800
committerJakub Kicinski <kuba@kernel.org>2023-12-14 17:51:21 -0800
commitaa75783b95a1e7fc09129f5364476e6effe47392 (patch)
tree9771a3342a81aead964f26bc443af265fd918510 /tools/perf/scripts/python
parent38329fcfb757b8215c07a77b6657721cc7e9530e (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 <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20231213231432.2944749-7-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions