diff options
author | Florian Mayer <fmayer@google.com> | 2018-11-22 17:34:34 +0000 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2018-11-30 11:14:43 +0000 |
commit | 4e28ea13c7a5fdcc4e673b8f6adda2bbe91eebc8 (patch) | |
tree | acaccee7ec7a522b93edf125bf19509845376319 /tests/string_test.cpp | |
parent | 6d0a1e7636d5136cd14ee8d2b725369b86423cb2 (diff) |
Use cmdline instead for enabling heapprofd.
Because we also want to profile Java applications, which have longer
names, the character limit of comm is a problem. To avoid complexity, it
is preferable to apply the same logic for finding running processes
(which includes Java apps), and determining whether to profile a process
from startup.
Test: m
Test: flash sailfish
Test: setprop heapprofd.enable 1
setprop heapprofd.enable.ls 1
ls
/system/bin/ls
/system/bin/ls /
Bug: 120175590
Change-Id: Id0859d4a333efcb05883e611ea6a31a51468f82c
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions