Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c544b894 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Enable attribution for sound_trigger wakeups

Adding a subsystem for sound_trigger wakeups - when the CPU wakes up to
process any recognition events as requested by SoundTriggerManager.
CpuWakeupStats also accounts for them and logs them to statsd now.

Also, adding support for parsing custom wakeups that are not classical
irq style wakeups. These usually appear with a negative integer
representing their irq line. This is required as some of the subsystems
may rely on these kinds of wakeups on some SoC architectures.

Also offloading the call to CpuWakeupStats to a handler to avoid
blocking any note operation calls that comes from critical paths in
system services calling them.

Test: atest FrameworksServicesTests:CpuWakeupStatsTest

Bug: 271496233
Bug: 267717665
Change-Id: If894391e86d915d830ffedd7a274ce1d8b3deaae
parent 7b888dcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment