commit | a67749df63ead760d69ef3f5d238a31902052070 | [log] [tgz] |
---|---|---|
author | Ryan <rsavitski@google.com> | Fri Apr 03 18:43:31 2020 +0100 |
committer | Ryan <rsavitski@google.com> | Fri Apr 03 18:43:31 2020 +0100 |
tree | 3faaeda55297508cf6f8268697a974aa08478fd5 | |
parent | 79679990ff54ed82d894a23a720536c54aeed234 [diff] |
perfetto_cmd: if unique session is given, set comm to "p-session_name" Why not argv0: (a) more involved, as it requires writing directly to some process memory, (b) it's harder for tools to notice changes in process names than in comm, (c) process name of "perfetto" is still generally valid, few people will need to dig deeper (and then the thread name provides extra info). The core function is intentionally defined only on platforms that it is implemented on. I guessed at the OSX branch given the TTR example. Change-Id: I2aaeb0edd2171ea3dfd3bd8acb7cbc087e79f5e3
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.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.