Commit 6dd3b426 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Todd Kjos
Browse files

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: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
Change-Id: Ic8d3cdd1c1aa6a9267d0b755694fedffa2ea8e36
(cherry picked from commit 2e14f01d)
[Enlin Mu: resolved few conflicts]
Signed-off-by: default avatarEnlin Mu <enlin.mu@unisoc.com>
parent ce512109
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment