It is unclear what benefit this option has, given that:
gprof
requires re-compilation (perf
and other tools can instead be used on existing executables)gprof
requires hardening to be disabledgprof
doesn’t work withclang
perf
is documented in the dev-notes, and test notes, and embedded into the functional test framework;gprof
isn’t- Anyone really wanting to use it could pass the required flags to
./configure
- I couldn’t find any mention of the use of
gprof
in the discussions in this repo, apart from the initial pull request adding it (cfaac2a60f3ac63ae8deccb03d88bd559449b78c) - Keeping it means that it needs to be maintained and ported to CMake
Fix all issues by removing it.