ANDROID: arm: allow hooks into ipi

Allow drivers to register hooks when IPIs are sent and handled. The
statistics of these IPIs are helpful in predicting CPU idle states.

Bug: 172588415
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Change-Id: I3706743ee4077157f8205870cecfff92841f40ce
This commit is contained in:
Lina Iyer
2020-11-05 13:41:07 -07:00
committed by Todd Kjos
parent d458c4f2d1
commit c4d042a643
+4
View File
@@ -51,6 +51,10 @@
#define CREATE_TRACE_POINTS
#include <trace/events/ipi.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(ipi_raise);
EXPORT_TRACEPOINT_SYMBOL_GPL(ipi_entry);
EXPORT_TRACEPOINT_SYMBOL_GPL(ipi_exit);
/*
* as from 2.5, kernels no longer have an init_tasks structure
* so we need some other way of telling a new secondary core