Revert "src: reduce cpu profiler overhead"

This reverts commit 1eb1e0a9af9b5f0782f4b877f6e50247e0276ba1.