Sets the system tracing configuration to the specified level with the
specified callback. When system events occur at a level equal to, or
lower than, the given level they will be reported to the given callback.
@param level Level to set tracing to
@param cb Function to call with trace data
@return 0 or an error code
Sets the system tracing configuration to the specified level with the specified callback. When system events occur at a level equal to, or lower than, the given level they will be reported to the given callback.
@param level Level to set tracing to @param cb Function to call with trace data @return 0 or an error code