commit | 9cca3e8840be4b854571da7100158ce539674bd1 | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Fri Apr 12 20:08:53 2019 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Fri Apr 12 20:08:53 2019 +0100 |
tree | 2d47a57f8742792a1ea1754281b0cc58a67884fe | |
parent | b305678f17e8eaa1d123b65e52131dad9c4dd59e [diff] |
heapprofd: add heartbeat check to child mode After receiving the data sources from traced, the child heapprofd should always be working on exactly one data source. This patch adds a periodic task (every 10s, first delay of 10s from the producer's creation) to exit the child heapprofd if it isn't working on any data sources. While there, reshuffle heapprofd_producer.cc method ordering to have slightly better conceptual/temporal grouping. Change-Id: Ied9d6316bfd05adb99c642921b695060e2fb4732
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.