src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/extrace.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiExInterpreterTraceEnabled
 *
 * PARAMETERS:  Name                - Whether method name should be matched,
 *                                    this should be checked before starting
 *                                    the tracer
 *
 * RETURN:      TRUE if interpreter trace is enabled.
 *
 * DESCRIPTION: Check whether interpreter trace is enabled
 *
 ******************************************************************************/
AcpiExInterpreterTraceEnabled
PARAMETERS:  Name                - Whether method name should be matched,
this should be checked before starting
the tracer

TRUE if interpreter trace is enabled.

Check whether interpreter trace is enabled
AcpiExInterpreterTraceEnabled PARAMETERS : Name - Whether method name should be matched this should be checked before starting the tracer TRUE if interpreter trace is enabled . Check whether interpreter trace is enabled
static BOOLEAN
AcpiExInterpreterTraceEnabled (
    char                    *Name)
{
    if (!(AcpiGbl_TraceFlags & ACPI_TRACE_ENABLED))
    {
        return (FALSE);
    }
    if (AcpiGbl_TraceMethodObject)
    {
        return (TRUE);
    }
    if (Name &&
        (AcpiGbl_TraceMethodName &&
         strcmp (AcpiGbl_TraceMethodName, Name)))
    {
        return (FALSE);
    }
    if ((AcpiGbl_TraceFlags & ACPI_TRACE_ONESHOT) &&
        !AcpiGbl_TraceMethodName)
    {
        return (FALSE);
    }
    return (TRUE);
}
static BOOLEAN AcpiExInterpreterTraceEnabled ( char * Name ) { if ( ! ( AcpiGbl_TraceFlags & ACPI_TRACE_ENABLED ) ) { return ( FALSE ) ; } if ( AcpiGbl_TraceMethodObject ) { return ( TRUE ) ; } if ( Name && ( AcpiGbl_TraceMethodName && strcmp ( AcpiGbl_TraceMethodName , Name ) ) ) { return ( FALSE ) ; } if ( ( AcpiGbl_TraceFlags & ACPI_TRACE_ONESHOT ) && ! AcpiGbl_TraceMethodName ) { return ( FALSE ) ; } return ( TRUE ) ; }
FUNCTION:    AcpiExInterpreterTraceEnabled
 PARAMETERS:  Name                - Whether method name should be matched,
                                    this should be checked before starting
                                    the tracer
FUNCTION : AcpiExInterpreterTraceEnabled PARAMETERS : Name - Whether method name should be matched this should be checked before starting the tracer
/* Check if tracing is enabled */ /*
     * Check if tracing is filtered:
     *
     * 1. If the tracer is started, AcpiGbl_TraceMethodObject should have
     *    been filled by the trace starter
     * 2. If the tracer is not started, AcpiGbl_TraceMethodName should be
     *    matched if it is specified
     * 3. If the tracer is oneshot style, AcpiGbl_TraceMethodName should
     *    not be cleared by the trace stopper during the first match
     */