[profiler} Don't crash if a zero sampling frequency is given.