The CANCEL TRACE command allows you to turn tracing off for some or all objects previously set by one of the SET TRACE commands. You may turn tracing back on by re-entering the appropriate SET TRACE command.
Specify which traces to cancel by using the same syntax as when they were set (using SET TRACE). For example, here are some valid commands to cancel traces:
The commands to cancel traces do not have to exactly correspond to the commands that turned them on. For example:
would leave a trace on for the event power_on and all events that begin with “s” and do not end with “g”. Request to cancel a trace that was not set is ignored.