tracing: Restore the const qualifier for field names and types definition