[profiler] Add back some legacy profiler API functions.