Trustonic TEE log spam the kernel log messages
And consume much CPU, disable it for now
Change-Id: I28d54Montanaa8d3f965ec833f2f6b5f8f0b43de2abe
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1242999
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
static void logging_worker(struct kthread_work *work)
{
+#if 0
static DEFINE_MUTEX(local_mutex);
mutex_lock(&local_mutex);
log_ctx.tail = 0;
}
mutex_unlock(&local_mutex);
+#endif
}
/*
*/
void logging_run(void)
{
+#if 0
if (log_ctx.enabled && !log_ctx.dead &&
log_ctx.trace_buf->head != log_ctx.tail)
#if KERNEL_VERSION(4, 9, 0) > LINUX_VERSION_CODE
#else
kthread_queue_work(&log_ctx.worker, &log_ctx.work);
#endif
+#endif
}
/*