Either --use-cpu-profiler should imply --use-system-tcmalloc or it should use the embedded copy of gperftools, and possibly build a copy of pprof.