diff options
author | 2020-04-06 11:00:45 +0200 | |
---|---|---|
committer | 2020-04-15 14:08:47 +0000 | |
commit | b04b30c90d7fd6d313335f1b9fc926d5a134bbe0 (patch) | |
tree | 1a960b0974998751282f82fdd8720d3105c3cd30 /compiler/optimizing/code_generator.h | |
parent | c390879443dea479fb5b317237ee455d76136be2 (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.
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
Change-Id: Icb8b70139eabca19838f0b122cc62af6b7c5a6ab
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions