core: add interrupt monitor

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>