Class: Nl::Linux::DrmRas::Messages::DumpGetErrorCounterRequest

Inherits:
Genl::Message show all
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

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

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.

Returns:

  • (Integer)

See Also:



299
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 299

def node_id; attributes[:"node_id"]&.value; end