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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user