diff --git a/kernel/sched/walt/walt.c b/kernel/sched/walt/walt.c index e81198c54f61..53625f2ae91a 100644 --- a/kernel/sched/walt/walt.c +++ b/kernel/sched/walt/walt.c @@ -4210,23 +4210,6 @@ static void android_rvh_build_perf_domains(void *unused, bool *eas_check) *eas_check = true; } -static void dump_throttled_rt_tasks(void *unused, int cpu, u64 clock, - ktime_t rt_period, u64 rt_runtime, s64 rt_period_timer_expires) -{ - printk_deferred("sched: RT throttling activated for cpu %d\n", cpu); - printk_deferred("rt_period_timer: expires=%lld now=%llu rt_time=%llu runtime=%llu period=%llu\n", - rt_period_timer_expires, ktime_get_ns(), - task_rq(current)->rt.rt_time, rt_runtime, rt_period); - printk_deferred("potential CPU hogs:\n"); -#ifdef CONFIG_SCHED_INFO - if (sched_info_on()) - printk_deferred("current %s (%d) is running for %llu nsec\n", - current->comm, current->pid, - clock - current->sched_info.last_arrival); -#endif - BUG_ON(sysctl_sched_bug_on_rt_throttle); -} - static void android_rvh_set_cpus_allowed_ptr_locked(void *unused, const struct cpumask *cpu_valid_mask, const struct cpumask *new_mask, @@ -4288,7 +4271,6 @@ static void register_walt_hooks(void) register_trace_android_rvh_sched_exec(android_rvh_sched_exec, NULL); register_trace_android_rvh_build_perf_domains(android_rvh_build_perf_domains, NULL); register_trace_cpu_frequency_limits(walt_cpu_frequency_limits, NULL); - register_trace_android_vh_dump_throttled_rt_tasks(dump_throttled_rt_tasks, NULL); register_trace_android_rvh_set_cpus_allowed_ptr_locked( android_rvh_set_cpus_allowed_ptr_locked, NULL); register_trace_android_rvh_rto_next_cpu(android_rvh_rto_next_cpu, NULL); diff --git a/kernel/sched/walt/walt_debug.c b/kernel/sched/walt/walt_debug.c index 59f6edbed53b..26458c7ee307 100644 --- a/kernel/sched/walt/walt_debug.c +++ b/kernel/sched/walt/walt_debug.c @@ -11,23 +11,6 @@ #include "walt.h" #include "walt_debug.h" -static void dump_throttled_rt_tasks(void *unused, int cpu, u64 clock, - ktime_t rt_period, u64 rt_runtime, s64 rt_period_timer_expires) -{ - printk_deferred("sched: RT throttling activated for cpu %d\n", cpu); - printk_deferred("rt_period_timer: expires=%lld now=%llu rt_time=%llu runtime=%llu period=%llu\n", - rt_period_timer_expires, ktime_get_ns(), - task_rq(current)->rt.rt_time, rt_runtime, rt_period); - printk_deferred("potential CPU hogs:\n"); -#ifdef CONFIG_SCHED_INFO - if (sched_info_on()) - printk_deferred("current %s (%d) is running for %llu nsec\n", - current->comm, current->pid, - clock - current->sched_info.last_arrival); -#endif - BUG(); -} - static void android_rvh_schedule_bug(void *unused, void *unused2) { BUG();