This ensures commands can be properly aggregated by tools processing the profiling output. Fixes: #20946