mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
Revert "Revert "ANDROID: workqueue: add vendor hook for wq lockup information""
This reverts commit 7a6ea55aa0.
This hook was removed because there is no user.
But the new project needs this hook.
Bug: 263703180
Change-Id: I14e286fd6d426d4ffdb4cb440477f0fae65e980e
Signed-off-by: Sangmoon Kim <sangmoon.kim@samsung.com>
This commit is contained in:
committed by
Treehugger Robot
parent
f2a236c7ae
commit
b42eddeb28
@@ -54,6 +54,7 @@
|
||||
|
||||
#include "workqueue_internal.h"
|
||||
|
||||
#include <trace/hooks/wqlockup.h>
|
||||
#include <trace/hooks/workqueue.h>
|
||||
/* events/workqueue.h uses default TRACE_INCLUDE_PATH */
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
@@ -5842,6 +5843,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused)
|
||||
pr_cont_pool_info(pool);
|
||||
pr_cont(" stuck for %us!\n",
|
||||
jiffies_to_msecs(now - pool_ts) / 1000);
|
||||
trace_android_vh_wq_lockup_pool(pool->cpu, pool_ts);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user