diff options
author | 2023-12-07 10:51:38 +0100 | |
---|---|---|
committer | 2024-12-16 12:59:34 +0100 | |
commit | 2853f31d15882a27feb87852f2969d600c7cc445 (patch) | |
tree | d61fd6c04e79bc0c0444dba1682e4a0f8b5e2f8e /libs/androidfw/misc.cpp | |
parent | 2daef7f6cf3ab06149a0fd6aa63b06554c9c4e60 (diff) |
Looper: Add global and per process override for slow message threshold
Adds the log.looper.any.main.slow and log.looper.<PID>.any.slow
sysprops, which allows a global slow dispatch/delivery threshold to be
set for all running main loopers, as well as a threshold for all threads
within the process.
Having a single propery instead of needing to lookup uids for all apps
and then setting a threshold property for each thread makes manual
testing and debugging for slow looper messages easier.
Bug: 326356810
Test: manual - Setprop log.looper.slow.all_processes and observe log
Change-Id: I6fdb8b1ef51eedb6160963bef0e4b17eb2ea5494
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions