improved definition and functionalities of Trace and Probe for diagnosis

Signed-off-by: marcomilanesio <milanesio.marco@gmail.com>