Merge #12373: Build: Add build support for profiling.

cfaac2a60 Add build support for 'gprof' profiling. (murrayn)

Pull request description:

  Support for profiling build: `./configure --enable-profiling`

Tree-SHA512: ea983cfce385f1893bb4ab7f94ac141b7d620951dc430da3bbc92ae1357fb05521eac689216e66dc87040171a8a57e76dd7ad98036e12a2896cfe5ab544347f0
This commit is contained in:
Wladimir J. van der Laan
2018-03-06 20:20:00 +01:00
3 changed files with 36 additions and 4 deletions

View File

@@ -142,6 +142,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;