Revert D33102715: Back out "Revert D32606547: torch/monitor: add C++ events and handlers"
Test Plan: revert-hammer
Differential Revision:
D33102715 (https://github.com/pytorch/pytorch/commit/eb374de3f538c19b3bc88d257101e39d3eb05e7d)
Original commit changeset: 3816ff01c578
Original Phabricator Diff: D33102715 (https://github.com/pytorch/pytorch/commit/eb374de3f538c19b3bc88d257101e39d3eb05e7d)
fbshipit-source-id: e262b6d8c80a05f3a67e024fedfbadefdbfe6e29