[PATCH 6/6] scripts/timer_migration_tree.py: Dump mask of each group
From: Frederic Weisbecker
Date: Thu Jun 25 2026 - 12:44:38 EST
Dump the mask of each group in order to verify they are correct and well
sorted with respect to CPU capacities.
Signed-off-by: Frederic Weisbecker <frederic@xxxxxxxxxx>
---
scripts/timer_migration_tree.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/timer_migration_tree.py b/scripts/timer_migration_tree.py
index 4f055fc08435..275b05fd6c1b 100755
--- a/scripts/timer_migration_tree.py
+++ b/scripts/timer_migration_tree.py
@@ -90,6 +90,7 @@ def populate(enode, node):
enode.add_feature("lvl", "lvl:%d" % node.lvl)
enode.add_feature("family", "family %d" % node.family)
enode.add_feature("num_children", "c=%d" % node.num_children)
+ enode.add_feature("groupmask", "mask=%s" % node.groupmask)
for child in node.children:
populate(enode, child)
@@ -107,4 +108,4 @@ if __name__ == "__main__":
group = group.parent
root = Tree()
populate(root, group)
- print(root.get_ascii(show_internal=True, attributes=["name", "family", "lvl"]))
+ print(root.get_ascii(show_internal=True, attributes=["name", "family", "lvl", "groupmask"]))
--
2.53.0