Return information on whether any trace is active at a certain level for a component.
#include <sys/ras_trace.h>
CT_TRCON(cb, level)
The CT_TRCON macro allows you to ascertain whether any type of trace (Component Trace, lightweight memory trace or system trace) will record events for the component specified at the trace detail level specified.
Item | Description |
---|---|
ras_block_t cb | The cb parameter is the RAS control block pointer that refers to the component that this trace entry belongs to. |
int level | Specifies the trace detail level. |