ANDROID: tracing: Add restricted vendor hooks for preemptirq events
We have debug infrastructure built on top of preempt/irq disable/enable events. This requires modifications to the kernel tracing code. Since this is not feasible with GKI, we started with registering to the existing preemptirq trace events. However the performance of wide variety of use cases are regressed as the rate of preemptirq events is super high and generic trace events are slow. Since GKI allows optimized trace events via restricted trace hooks, add the same for preemptirq event. Bug: 317833042 Signed-off-by:Pavankumar Kondeti <pkondeti@codeaurora.org> Change-Id: Ic8d3cdd1c1aa6a9267d0b755694fedffa2ea8e36 (cherry picked from commit 2e14f01d) [Enlin Mu: resolved few conflicts] Signed-off-by:
Enlin Mu <enlin.mu@unisoc.com>
Loading
Please sign in to comment