crash.types.node module¶
The crash.types.node module offers helpers to work with NUMA nodes.
- class crash.types.node.Node(obj: 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: List[int] = []¶
- nids_possible: List[int] = []¶
- 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[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