Add process tracing helper