Add dedicated trace events for benchmarking.