crash.types.node module¶
The crash.types.node module offers helpers to work with NUMA nodes.
-
class
crash.types.node.Node(obj: gdb.Value)[source]¶ Bases:
objectA wrapper around the Linux kernel ‘struct node’ structure
-
class
crash.types.node.NodeStates[source]¶ Bases:
objectA state holder for Node states.
-
nids_online¶ A list of the online node IDs.
Type: listofint
-
nids_possible¶ A list of the possible node IDs.
Type: listofint
-
for_each_nid() → Iterable[int][source]¶ Iterate over each NUMA Node ID
Yields: int– The next NUMA Node ID
-
for_each_online_nid() → Iterable[int][source]¶ Iterate over each online NUMA Node ID
Yields: int– The next NUMA Node ID
-
nids_online= []
-
nids_possible= []
-
-
crash.types.node.for_each_nid() → Iterable[int][source]¶ Iterate over each NUMA Node ID
Yields: int– The next NUMA Node ID
-
crash.types.node.for_each_node() → Iterable[crash.types.node.Node][source]¶ Iterate over each NUMA Node
Yields: int– The next NUMA Node
-
crash.types.node.for_each_online_nid() → Iterable[int][source]¶ Iterate over each online NUMA Node ID
Yields: int– The next NUMA Node ID