summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-06-08 13:39:25 +0200
committerSven Eckelmann <sven@narfation.org>2026-08-04 17:33:05 +0200
commit4549e49abbced072eefa1238b5a73ce093551ac9 (patch)
tree9d2b0a4c0cd2ee27706ed8a20c47ec5ca3acf389 /tools/perf/scripts/python/bin/stackcollapse-report
parenta0082bd0f8519c80682a6797c070229fa3e149bc (diff)
batman-adv: switch var declarations to reverse x-mas tree order
The network related code should use for local variable declarations an ordering scheme which orders lines longest to shortest. Initializations should only be kept in the declarations when the dependencies between them are not preventing the reverse x-mas tree order. Many functions are already using this order. The remaining ones were supposed to slowly convert to the x-mas tree order when working on them. But this never happened because the patches tried to only modify the relevant lines. Instead of getting better, the order often just became worse. Just fix the remaining offending functions to finally solve this coding style (minor) problem. The anonymous dhcp structs were only extracted to have a clean reverse x-mas tree in functions and are not yet meant as an opportunity for further cleanups. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions