ANDROID: arm64: 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: I33f6e5598abb0b53392030407900037d5cd516e0
This commit is contained in:
Lina Iyer
2020-11-05 13:37:19 -07:00
committed by Todd Kjos
parent 44043ee002
commit d458c4f2d1
+3
View File
@@ -58,6 +58,9 @@
DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number);
EXPORT_PER_CPU_SYMBOL(cpu_number);
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