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:
Sangmoon Kim
2022-12-26 20:53:40 +09:00
committed by Treehugger Robot
parent f2a236c7ae
commit b42eddeb28
3 changed files with 25 additions and 0 deletions

View File

@@ -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);
}
}