void panic(void)

The panic action causes a kernel panic when triggered. This action should be used to force a system crash dump at a time of interest. You can use this action together with ring buffering to understand a problem. For more information, see Chapter 5, Buffers and Buffering . When the panic action is used, a panic message appears that denotes the probe causing the panic. rsyslogd also emits a message upon reboot. The message buffer of the crash dump contains the probe and event control block (ECB) responsible for the panic action.