trace_set_trigger
Configure a breakpoint to start, stop, or disable trace recording at a specified function or address.
Instructions
Set a trace trigger breakpoint.
Configures a breakpoint that controls trace recording start/stop.
Args: address: Function name, symbol, or address (e.g., "sieve", "0x80001000"). Supports symbol.EXIT(func) syntax for function exit triggers. trigger_type: "stop" — stop recording at this point (TraceTrigger) "enable" — enable recording at this point (TraceEnable) "disable" — disable recording at this point
Returns: Confirmation of trace trigger
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| trigger_type | No | stop |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |