Profiling only parts of your code with perf.

Henrik Mühe