ANDROID: workqueue: Export workqueue_execute_start/end tracepoints

Export workqueue_execute_start/end tracepoints, so that vendor modules
can register probes for these tracepoints.

Bug: 175936268
Change-Id: Ib4c8f39ff8305a1d52fbca9d06b5e792396a3a2d
Signed-off-by: Changki Kim <changki.kim@samsung.com>
This commit is contained in:
Changki Kim
2020-12-19 14:20:04 +09:00
committed by Todd Kjos
parent b011ee0886
commit c7c6b3a0de

View File

@@ -365,6 +365,9 @@ static void show_pwq(struct pool_workqueue *pwq);
#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_held() && \
!lockdep_is_held(&wq_pool_mutex), \