Profiler improvements.
Merge pull request #1826 from anildash/profiler-improvements

Profiler improvements.