]> code.delx.au - gnu-emacs/commit
Improve diagnostics of profiler-cpu-start
authorKen Brown <kbrown@cornell.edu>
Mon, 22 Jun 2015 19:26:44 +0000 (15:26 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 22 Jun 2015 19:26:44 +0000 (15:26 -0400)
commitdc30fb9247d5d9d98ae1c3501d3ffa90e2001a46
tree936b1c717c4576558a54387777d033933d077fdc
parent567bf811dc83d4e2a770f602fc70df0874aa02e4
Improve diagnostics of profiler-cpu-start

* 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)
src/profiler.c