You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(debugging): support probe mutability (#5389)
This change adds support for mutable probes to Dynamic Instrumentation.
This means that the DI agent can now update installed probes to match
whatever changes have been applied to an existing probe from the Dynamic
Instrumentation UI.
## Implementation details
Only certain probe fields are currently allowed to be mutated. We
leverage the annotation capabilities of `attrs` to mark such fields with
`eq=True` (in fact, we mark _immutable_ fields with `eq=False`). An
exception is the `probe_id` field which, whilst marked as mutable, it is
actually used for primary equality detection.
## Testing strategy
To comply with the backing RFC, the tests have been extended to check
that:
- probes are indeed mutable in the intended way
- probe status are re-emitted when a probe is mutated
0 commit comments