mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-07-03 21:53:30 +01:00
fw/instrument: add hostside decorator
Add a decorator to indicate that a callback runs entirely host-side and does not rely on a connection to the target. This means it will be invoked even if the target was detected to be unresponsive.
This commit is contained in:
committed by
setrofim
parent
2f99137ad5
commit
5f7fde206d
@ -19,3 +19,16 @@ were registered). The table below shows the mapping of the decorator to the
|
||||
corresponding priority:
|
||||
|
||||
$priority_prefixes
|
||||
|
||||
|
||||
Unresponsive Targets
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If a target is believed to be unresponsive, instrument callbacks will be
|
||||
disabled to prevent a cascade of errors and potential corruptions of state, as
|
||||
it is generally assumed that instrument callbacks will want to do something with
|
||||
the target.
|
||||
|
||||
If your callback only does something with the host, and does not require an
|
||||
active target connection, you can decorate it with ``@hostside`` decorator to
|
||||
ensure it gets invoked even if the target becomes unresponsive.
|
||||
|
Reference in New Issue
Block a user