Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Runtime observations for scheduler and execution-context diagnostics.

Functions§

diagnose_current_stack_guard_page_fault
Reports whether a kernel page fault hit the current runtime stack guard.
install_sched_switch_trace_hook
Installs the process-wide scheduler-switch diagnostic consumer.
publish_sched_switch_trace_gate
Publishes whether the scheduler-switch trace site has active consumers.
timer_irq_count
Returns the aggregate number of scheduler timer interrupts since boot.

Type Aliases§

SchedSwitchTraceHook
Allocation-free scheduler-switch capture hook installed by an OS layer.