ANDROID: workqueue: Export workqueue_execute_start/end tracepoints
Export workqueue_execute_start/end tracepoints, so that vendor modules can register probes for these tracepoints. To debug workqueue-related issue, workqueue_execute_start/end infos must be necessary to find whether workqueue start and exit normally or not. And workqueue_execute_start/end also check that workqueue is operated normally or not. Bug: 205928005 Change-Id: Ib4c8f39ff8305a1d52fbca9d06b5e792396a3a2d Signed-off-by: Changki Kim <changki.kim@samsung.com> Signed-off-by: Chanho Park <chanho61.park@samsung.com> (cherry picked from commit b50a32b28c9ef57562e284908e7228d1568d7461)
This commit is contained in:
committed by
Treehugger Robot
parent
9eb0d9fb02
commit
3e5c2a96e3
@@ -534,6 +534,9 @@ static void show_one_worker_pool(struct worker_pool *pool);
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/workqueue.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(workqueue_execute_start);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(workqueue_execute_end);
|
||||
|
||||
#define assert_rcu_or_pool_mutex() \
|
||||
RCU_LOCKDEP_WARN(!rcu_read_lock_any_held() && \
|
||||
!lockdep_is_held(&wq_pool_mutex), \
|
||||
|
||||
Reference in New Issue
Block a user