| commit | 10c19fbf3219ec00ce0972d9476169dcaa6076a1 | [log] [tgz] |
|---|---|---|
| author | Ryan Savitski <rsavitski@google.com> | Tue Jan 22 14:44:15 2019 +0000 |
| committer | Ryan Savitski <rsavitski@google.com> | Tue Jan 22 14:44:15 2019 +0000 |
| tree | 6a66588bc5b24ef0cee9fddae7c037b9b41c92d0 | |
| parent | 37699ed05b436fe7e60b1568d133360dcb1bc02a [diff] |
heapprofd: fork mode: pass cmdline as a flag to heapprofd Client now reads (and normalizes) /proc/own_pid/cmdline, passing it as a separate flag to heapprofd. The forked heapprofd is otherwise unable to access the target's cmdline entry due to hidepid. Note also that this is making the client give up if it's unable to parse the cmdline. Previously we would still try to carry on just using the pid (so by-cmdline configs wouldn't work, but by-pid would). Bug: 120185246 Change-Id: I849c4c18cd68e290077fe2633c851eb4fefd9fef
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.