Enumerations

enum FailureSeverity
Name Value
Oops 0
Fatal 1

Defined at line 61 of file ../../zircon/kernel/lib/lockup_detector/include/lib/lockup_detector/diagnostics.h

Functions

  • bool Enter (LockupDetectorState & state, const char * name)

    Enter a critical section.

    Returns true if this is the outermost critical section.

    Don't forget to call |CallIfOuterAndLeave| (regardless of this function's return value).

    Defined at line 26 of file ../../zircon/kernel/lib/lockup_detector/include/lib/lockup_detector/inline_impl.h

  • template <typename Func>
    void CallIfOuterAndLeave (LockupDetectorState & state, Func && func)

    Call |func| if in the outmost critical section then leave the current critical section.

    Defined at line 72 of file ../../zircon/kernel/lib/lockup_detector/include/lib/lockup_detector/inline_impl.h

  • void DumpCommonDiagnostics (cpu_num_t cpuFILE * output_targetFailureSeverity severity)

    Defined at line 140 of file ../../zircon/kernel/lib/lockup_detector/diagnostics.cc