Class: Nl::Linux::DrmRas::Messages::DumpGetErrorCounterReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::DrmRas::Messages::DumpGetErrorCounterReply
- 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[error_id error_name error_value])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
-
#error_name ⇒ String
Name of the error.
-
#error_value ⇒ Integer
Current value of the requested error counter.
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
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
313 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 313 def error_id; attributes[:"error_id"]&.value; end |
#error_name ⇒ String
Name of the error.
318 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 318 def error_name; attributes[:"error_name"]&.value; end |
#error_value ⇒ Integer
Current value of the requested error counter.
323 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 323 def error_value; attributes[:"error_value"]&.value; end |