diff options
author | Florian Mayer <fmayer@google.com> | 2020-04-06 11:00:45 +0200 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2020-04-16 09:48:29 +0100 |
commit | ae9a3d57cd87437562808979171563e0add22ae8 (patch) | |
tree | 889aa4f0bf44b7bdc7ccde512bd92c8e2e43727a /test/ProfileTestMultiDex/main.jpp | |
parent | b3ff3683f4bb5ec053374f98baed2d05e8a83c18 (diff) |
Only allow extra_guardrails for domains that can connect to heapprofd.
Always load perfetto_hprof plugin for system server, as it does not have
a manifest. The android_mallopt call marking it as profileable comes too
late for plugin initialization, so we have to hardcode here.
This is a cherry pick of b04b30c90d7fd6d313335f1b9fc926d5a134bbe0
Test: flash user device
allow systemui to use central heapprofd
make system_server perfetto producer
profile systemui with extra guardrails -> success
profile sys_srv without extra guardrails -> success
profile sys_srv with extra guardrails -> rejected
Bug: 151140716
Merged-In: Icb8b70139eabca19838f0b122cc62af6b7c5a6ab
Change-Id: Icb8b70139eabca19838f0b122cc62af6b7c5a6ab
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions