Generally C::B has an integration with the GCC's profiler, but it is a bit useless these days and there are better tools.
What OS are you using?
On linux you're better of using perf or something similar. I'm testing the hotspot perf data viewer and it isn't that bad. Also using flamegraphs is really useful, but getting reliable callstacks on linux is tough
.
On windows I'm not really sure if there is really a free alternative to perf. I've heard there is an window integrated profiler, but I've never used it.
At work we use Intel VTune (for both linux and windows), but it is quite expensive unfortunately. No other tool is close to the UI features of VTune. And callstacks work quite a lot better with it on linux.
Another thing which is getting attention is the XRay system integrated in LLVM.