Add show -performance command to UEFI cli
@@ -767,6 +767,13 @@ RegisterCommands(
if (EFI_ERROR(Rc)) {
goto done;
}
+#ifndef __MFG__
+ // Mfg has a low latency version of this command in RegisterMfgCommands()
+ Rc = RegisterShowPerformanceCommand();
+ if (EFI_ERROR(Rc)) {
+ goto done;
+ }
+#endif // !__MFG__
#ifdef OS_BUILD
#ifdef __MFG__
@@ -774,11 +781,6 @@ RegisterCommands(
if (EFI_ERROR(Rc)) {
goto done;
}
-#else
- Rc = RegisterShowPerformanceCommand();
- if (EFI_ERROR(Rc)) {
- goto done;
- }
#endif // __MFG__
#endif // OS_BUILD
