Revert "Finish profiler"

This reverts commit bb35701a21b15b788100ae7fb7f26df5c31904c1, reversing
changes made to bb1b2a137ec6cca9e235a0ad2d4eba899d35cd8f.