Delay the atexit call to prof_log_start().

So that atexit() is only done when prof_log is used.
1 file changed