Fix docstring of Profiler class (GH-8651)

2 files changed