[edk2-devel] [edk2-platform][PATCH v1 1/1] EmbeddedPkg/VirtualRealTimeClockLib : Reduce DEBUG message verbosity

Pete Batard pete at akeo.ie
Wed Dec 23 16:37:20 UTC 2020


On 2020.12.20 19:14, Samer El-Haj-Mahmoud wrote:
> Using Ard's correct e-mail
> 
>> -----Original Message-----
>> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Samer
>> El-Haj-Mahmoud via groups.io
>> Sent: Sunday, December 20, 2020 2:08 PM
>> To: devel at edk2.groups.io
>> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>; Leif Lindholm
>> <leif at nuviainc.com>; Pete Batard <pete at akeo.ie>
>> Subject: [edk2-devel] [edk2-platform][PATCH v1 1/1]
>> EmbeddedPkg/VirtualRealTimeClockLib : Reduce DEBUG message verbosity
>>
>> the DEBUG message for using compilation time epoch is appearing very
>> frequently on DEBUG firmware builds, for example during UEFI SCT runs.
>> Reduce verbosity to avoid the annoying repetitive message.
>>
>> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
>> Cc: Leif Lindholm <leif at nuviainc.com>
>> Cc: Pete Batard <pete at akeo.ie>
>> Signed-off-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud at arm.com>
>> ---
>>   EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c |
>> 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git
>> a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
>> b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
>> index 5c13ed4cf190..4210708cff36 100644
>> ---
>> a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
>> +++
>> b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
>> @@ -88,7 +88,7 @@ LibGetTime (
>>       //
>>
>>       EpochSeconds = BUILD_EPOCH;
>>
>>       DEBUG ((
>>
>> -      DEBUG_INFO,
>>
>> +      DEBUG_VERBOSE,
>>
>>         "LibGetTime: %s non volatile variable was not found - Using compilation
>> time epoch.\n",
>>
>>         mEpochVariableName
>>
>>         ));
>>
>> --
>> 2.25.1
>>
>>
>>
>> -=-=-=-=-=-=
>> Groups.io Links: You receive all messages sent to this group.
>> View/Reply Online (#69269): https://edk2.groups.io/g/devel/message/69269
>> Mute This Topic: https://groups.io/mt/79110001/1945644
>> Group Owner: devel+owner at edk2.groups.io
>> Unsubscribe: https://edk2.groups.io/g/devel/unsub [samer.el-haj-
>> mahmoud at arm.com]
>> -=-=-=-=-=-=
>>
> 
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
> 

Reviewed-by: Pete Batard <pete at akeo.ie>
Tested-by: Pete Batard <pete at akeo.ie> (On an RPi4 platform where we 
would see tons of these unwanted messages without this patch)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69421): https://edk2.groups.io/g/devel/message/69421
Mute This Topic: https://groups.io/mt/79110001/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list