PD#138714: lowering log level to debug for cpu_cluster_energy and
cpu_core_energy and disabling their logging by default
Change-Id: Ie515d892aa4ff0c77a5393c1b9f67b4f0c463b3e
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
struct sched_group_energy *sge = sge_array[cpu][SD_LEVEL1];
if (!sge) {
+#ifdef CONFIG_AMLOGIC_MODIFY
+ pr_debug("Invalid sched_group_energy for Cluster%d\n", cpu);
+#else
pr_warn("Invalid sched_group_energy for Cluster%d\n", cpu);
+#endif
return NULL;
}
struct sched_group_energy *sge = sge_array[cpu][SD_LEVEL0];
if (!sge) {
+#ifdef CONFIG_AMLOGIC_MODIFY
+ pr_debug("Invalid sched_group_energy for Cluster%d\n", cpu);
+#else
pr_warn("Invalid sched_group_energy for CPU%d\n", cpu);
+#endif
return NULL;
}