diff --git a/services/updater_main.cpp b/services/updater_main.cpp index 470fd6d41074f7fb7d95ea58aa708a9ad4de19e7..b3137de621e416c0cbc441f53b862dde342f09c2 100644 --- a/services/updater_main.cpp +++ b/services/updater_main.cpp @@ -606,8 +606,20 @@ UpdaterStatus InstallUpdaterPackages(UpdaterParams &upParams) return status; } +__attribute__((weak)) void PrintAllCpuFreq() +{ + LOG(INFO) << "No need to print cup freq"; +} + +__attribute__((weak)) void GetZonelTemp() +{ + LOG(INFO) << "No need to print zonel temp"; +} + UpdaterStatus StartUpdaterEntry(UpdaterParams &upParams) { + PrintAllCpuFreq(); + GetZonelTemp(); UpdaterStatus status = UPDATE_UNKNOWN; status = PreStartUpdaterEntry(upParams, status); if (status != UPDATE_SUCCESS) { diff --git a/services/updater_main.h b/services/updater_main.h index 699df7ee794b417234a1b392cf3effdcabb0332d..f35ca0e8ca1a77e4979ae90439cfd31ab15a747a 100644 --- a/services/updater_main.h +++ b/services/updater_main.h @@ -70,6 +70,8 @@ int32_t VerifySpecialPkgs([[maybe_unused]]UpdaterParams &upParams); void UpdaterVerifyFailEntry(bool verifyret); bool IsSpareBoardBoot(void); bool IsNeedWipe(); +void PrintAllCpuFreq(); +void GetZonelTemp(); #ifdef __cplusplus #if __cplusplus }