Add build support for 'gprof' profiling.

This commit is contained in:
murrayn
2018-02-06 20:58:41 -08:00
parent d32528e733
commit cfaac2a60f
3 changed files with 36 additions and 4 deletions

View File

@ -140,6 +140,10 @@ Development tips and tricks
Run configure with the --enable-debug option, then make. Or run configure with
CXXFLAGS="-g -ggdb -O0" or whatever debug flags you need.
**compiling for gprof profiling**
Run configure with the --enable-gprof option, then make.
**debug.log**
If the code is behaving strangely, take a look in the debug.log file in the data directory;