Apply the change in a99ebf9843f0cf92b3a9a856738378dcace20566 to mprof-report too.