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