Class: Nl::Linux::DrmRas::Messages::DumpGetErrorCounterRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::DrmRas::Messages::DumpGetErrorCounterRequest
- Defined in:
- nl-linux/generated/nl/linux/drm_ras.rb
Overview
Retrieve error counter for a given node. The response includes the id, the name, and even the current value of each counter.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
2- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::ErrorCounterAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[node_id])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
299 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 299 def node_id; attributes[:"node_id"]&.value; end |