profcollectd: allow to request wakelock from system_suspend.

Bug: 219934028
Test: run profcollectd and
Test: dumpsys suspend_control_internal --wakelocks
Change-Id: I3cefb0139781a6d5cf32507871f0f7f2b8306614
This commit is contained in:
Yabin Cui 2022-02-17 10:03:41 -08:00
parent 92ec679578
commit 409d019f9b

View File

@ -52,6 +52,9 @@ userdebug_or_eng(`
binder_call(profcollectd, system_server)
add_service(profcollectd, profcollectd_service)
# Allow profcollectd to request wakelock from system-suspend.
wakelock_use(profcollectd)
# Allow to temporarily lift the kptr_restrict setting and get kernel start address
# by reading /proc/kallsyms, get module start address by reading /proc/modules.
set_prop(profcollectd, lower_kptr_restrict_prop)