diff options
| author | 2021-05-19 12:36:21 +0100 | |
|---|---|---|
| committer | 2021-05-20 09:29:48 +0000 | |
| commit | dc65a4505a62b8ebd7e8c65bccbc469c01e500a7 (patch) | |
| tree | f19d852e55978cdf634613965f2108d91a6b0c8a /compiler/optimizing/graph_test.cc | |
| parent | 7cdd7d9a1b10cfcfa1783b2df292698c650a47da (diff) | |
Do not double check trace config targetting.
heapprofd now includes the target tracing session ID when signalling the
ART plugin to initiate a dump. This makes the code we used to need to
figure out whether a tracing session targets the current process
redundant.
The old code also had a bug, because it checked the requested PID
against getpid(). As this was done after the call to fork(), that broke
targetting by PID.
Test: run concurrent perfetto_hprof sessions and verify the results are
as expected.
Bug: 188523717
Merged-In: I2f68380f88f10709248fc2cc268bb24db359e6c5
Change-Id: I2f68380f88f10709248fc2cc268bb24db359e6c5
Diffstat (limited to 'compiler/optimizing/graph_test.cc')
0 files changed, 0 insertions, 0 deletions