[profiler] Implement call context introspection for enter/leave events.