commit | 98e560dad20ba2192e8a944013aff282a79b290a | [log] [tgz] |
---|---|---|
author | Isabelle Taylor <taylori@google.com> | Thu Nov 22 11:59:12 2018 +0000 |
committer | Isabelle Taylor <taylori@google.com> | Thu Nov 22 11:59:12 2018 +0000 |
tree | a3a3aeab3dc794cf4d055ee9ed5a80b27469a159 | |
parent | 5d95ed6cb8d49a61dbbadc11420daba5d06a32a6 [diff] |
Add generic ftrace event Any ftrace event that perfetto does not have prior knowledge of can be added to the config and outputted in the form of a generic event. The fields outputted in the generic proto are populated based on the fields read from the ftrace format file of that event. This CL also adds logic for the config to understand ftrace events that include the group name e.g sched/sched_switch. In order for a generic event to be used the group must be included. For backward compatibility, events can still be specified without a group. Bug:117471443 Change-Id: I96a8565b33822ef3fadf37f9ff9904d574fec6f8
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.