Class: Nl::Linux::DrmRas::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::DrmRas::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/drm_ras.rb
Instance Method Summary collapse
-
#do_clear_error_counter(**args) ⇒ Nl::Async::Future<void>
Clear error counter for a given node.
-
#do_get_error_counter(**args) ⇒ Nl::Async::Future<Messages::DoGetErrorCounterReply>
Retrieve error counter for a given node.
-
#dump_get_error_counter(**args) ⇒ Nl::Async::Stream<Messages::DumpGetErrorCounterReply>
Retrieve error counter for a given node.
-
#dump_list_nodes(**args) ⇒ Nl::Async::Stream<Messages::DumpListNodesReply>
Retrieve the full list of currently registered DRM RAS nodes.
Instance Method Details
#do_clear_error_counter(**args) ⇒ Nl::Async::Future<void>
Clear error counter for a given node. The request includes the error-id and node-id of the counter to be cleared.
Requires CAP_NET_ADMIN in the initial user namespace.
458 459 460 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 458 def do_clear_error_counter(**args) @exchange.call(:"do", Messages::DoClearErrorCounterRequest, nil, args) end |
#do_get_error_counter(**args) ⇒ Nl::Async::Future<Messages::DoGetErrorCounterReply>
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.
435 436 437 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 435 def do_get_error_counter(**args) @exchange.call(:"do", Messages::DoGetErrorCounterRequest, Messages::DoGetErrorCounterReply, args) end |
#dump_get_error_counter(**args) ⇒ Nl::Async::Stream<Messages::DumpGetErrorCounterReply>
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.
446 447 448 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 446 def dump_get_error_counter(**args) @exchange.call(:"dump", Messages::DumpGetErrorCounterRequest, Messages::DumpGetErrorCounterReply, args) end |
#dump_list_nodes(**args) ⇒ Nl::Async::Stream<Messages::DumpListNodesReply>
Retrieve the full list of currently registered DRM RAS nodes. Each node includes its dynamically assigned ID, name, and type. Important: User space must call this operation first to obtain the node IDs. These IDs are required for all subsequent operations on nodes, such as querying error counters.
Requires CAP_NET_ADMIN in the initial user namespace.
423 424 425 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 423 def dump_list_nodes(**args) @exchange.call(:"dump", Messages::DumpListNodesRequest, Messages::DumpListNodesReply, args) end |