adding debugging tool to xenomai rt thread to provide feedback when RT performance is lost