• Ken Brown's avatar
    Improve diagnostics of profiler-cpu-start · dc30fb92
    Ken Brown authored
    * src/profiler.c (setup_cpu_timer): Change return type to 'int';
    return -1 if the sampling interval is invalid.
    (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
    fails.  (Bug#20843)
    dc30fb92
profiler.c 17.9 KB