commit | cb4fab133d14b491c57f46a4a08b66eaf8b675f6 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Fri Sep 25 13:57:37 2020 +0100 |
committer | Florian Mayer <fmayer@google.com> | Thu Oct 01 08:37:11 2020 +0000 |
tree | b534a5514313c239083a1f72ab50449eaa82e358 | |
parent | baade40270fbfdc36cd0500d5245408debe7737e [diff] |
Use NotifyDatasourceStopped for perfetto_hprof. This takes the guesswork out of how long we need to run the trace for. Now, we can have a short trace duration (but long enough for the fork + datasource init to happen), and a long datasource_stop_timeout. This way, the trace will only take as long as it needs to. Bug: 159594916 Change-Id: I0fa4219f454e91476833297342a11009e0e27435