Backport of core PR12373.
I made the cmake option a string value (not boolean) so that other tools
can be added later.
Differential D5181
Add build support for 'gprof' profiling. Fabien on Feb 6 2020, 14:56. Authored by
Details
Backport of core PR12373. I made the cmake option a string value (not boolean) so that other tools For autotools: ./autogen.sh mkdir build && cd build ../configure --enable-gprof make For cmake: cmake -DENABLE_PROFILING=gprof -DENABLE_HARDENING=OFF ninja For both: ./src/bitcoind -help gprof src/bitcoind gmon.out > profiling.txt The profiling.txt file contains the profiling information. cmake -GNinja .. -DENABLE_PROFILING=gprof Should return an error and ask to disable hardening. cmake -GNinja .. ninja check-security
Diff Detail
Event TimelineComment Actions [Bot Message]
|