Revert "sched:walt: register tracehooks for race with pause"

This reverts commit 17e292f2531be14480932e1c1934ebb5bf42e720.

Change-Id: I302081c5218cb55ce5d900189d7e3301d1a8c56e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
Elliot Berman 2021-06-22 16:15:36 -07:00 committed by Rishabh Bhatnagar
parent 72cb1a9422
commit 2b51bbee3b

View File

@ -4119,20 +4119,6 @@ static void android_rvh_build_perf_domains(void *unused, bool *eas_check)
*eas_check = true;
}
static void android_vh_force_compatible_pre(void *unused, void *unused2)
{
if (unlikely(walt_disabled))
return;
cpu_maps_update_begin();
}
static void android_vh_force_compatible_post(void *unused, void *unused2)
{
if (unlikely(walt_disabled))
return;
cpu_maps_update_done();
}
static void register_walt_hooks(void)
{
register_trace_android_rvh_wake_up_new_task(android_rvh_wake_up_new_task, NULL);
@ -4162,8 +4148,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_force_compatible_pre(android_vh_force_compatible_pre, NULL);
register_trace_android_vh_force_compatible_post(android_vh_force_compatible_post, NULL);
}
atomic64_t walt_irq_work_lastq_ws;