fix regression in TestProfiler causing it to file under nogen

(just a silly mistake in 0d3a7dae9ae550d2667bc7d5e50e4fb207edb441)