fix beginning of inactive trace and printing idle traces

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>