To enable or disable data collection:
Note - When the Sampling Collector Window is opened, data collection is enabled.