Emit_alarmSourceRegister a hook to be called when a new alarm has been emitted. The hook will be called with an alarm and the stack of tracelog locations.
Call all the registered hooks, in order, on the emitted alarm.
Reset the alarm logs, this should be used only for post analysis