From 3cdd7832ab286a3690fe1ec86b1326bf731b6279 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 5 May 2019 21:59:37 -0700 Subject: [PATCH] cpuidle: lpm-levels: Remove debug event logging A measurably significant amount of CPU time is spent on logging events for debugging purposes in lpm_cpuidle_enter. Kill the useless logging to reduce overhead. Signed-off-by: Danny Lin Change-Id: I9d34ece7e910d92e6f1a55fa85b3db5828fbbb9e --- drivers/cpuidle/lpm-levels.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/cpuidle/lpm-levels.c b/drivers/cpuidle/lpm-levels.c index 8a77b32c00f1..51faa030b5fc 100755 --- a/drivers/cpuidle/lpm-levels.c +++ b/drivers/cpuidle/lpm-levels.c @@ -72,7 +72,6 @@ #define PSCI_AFFINITY_LEVEL(lvl) ((lvl & 0x3) << 24) #define BIAS_HYST (bias_hyst * NSEC_PER_MSEC) - static struct system_pm_ops *sys_pm_ops; @@ -1096,7 +1095,6 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx, sec_debug_cluster_lpm_log(cluster->cluster_name, idx, cluster->num_children_in_sync.bits[0], cluster->child_cpus.bits[0], from_idle, 1); - trace_cluster_enter(cluster->cluster_name, idx, cluster->num_children_in_sync.bits[0], cluster->child_cpus.bits[0], from_idle);