anchor.diff:        children: [
           RefreshButton(
             label: 'Load all CPU samples',
  -          onPressed: controller.loadAllSamples,
  +          onPressed: !recording ? controller.loadAllSamples : null,
           ),
           const SizedBox(width: defaultSpacing),
           ProfileGranularityDropdown(
  
positive.code:         ),
          const SizedBox(width: defaultSpacing),
          ExportButton(
            onPressed: controller.cpuProfileData != null &&
                    !controller.cpuProfileData.isEmpty
                ? () => _exportPerformance(context)
                : null,
  
negative.code:         ),
          _SecondaryControls(
            controller: controller,
            recording: recording,
          ),
        ],
      );
  