Revert "[Profiler] Add `disabled` and `global` methods to ProfilerConfig. (#83891)"
This reverts commit 69e9f905b7ddc0f453fa273746c9db5ed60bc71a.
Reverted https://github.com/pytorch/pytorch/pull/83891 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally