ANDROID: timer: Export hrtimer_expire_entry/exit tracepoints

Export hrtimer_expire_entry/exit tracepoints, so that vendor modules
can register probes for these tracepoints.

When core stop, we need hrtimer when last hrtimer is called.
Also, rcu stall issue needs hrtimer infos.
For this reason, we have stored hrtimer infos.

Bug: 205928005
Change-Id: I739f369d3b56e09f8e9061fefdf25830e37e987e
Signed-off-by: Changki Kim <changki.kim@samsung.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
This commit is contained in:
Changki Kim 2020-12-19 14:21:18 +09:00 committed by Todd Kjos
parent b50a32b28c
commit 0004ef7915

View file

@ -59,6 +59,9 @@
#undef CREATE_TRACE_POINTS
#include <trace/hooks/timer.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(hrtimer_expire_entry);
EXPORT_TRACEPOINT_SYMBOL_GPL(hrtimer_expire_exit);
__visible u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES;
EXPORT_SYMBOL(jiffies_64);