commit | ff7beab5248b18dde0e0d0551031c298badad3b0 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Wed Jan 09 21:49:20 2019 +0000 |
committer | Primiano Tucci <primiano@google.com> | Wed Jan 09 21:49:20 2019 +0000 |
tree | 72122bb29df742ea7d5cadd77a0da7cf3171e23f | |
parent | 0e14e4babc1f91e995c3d95f3b0b3f75b97b5cad [diff] |
Abort traces if duration_ms is too high to prevent overflow bugs Prior to this change the guardrail for too-long traces was triggered only for non-interactive traces. However, turns out that if the duration_ms is accidentally too high (e.g. 0xffffffff) that triggers subtle overflow bugs in the watchdog logic of the traced_probes process. This CL caps also the duration of the non-interactive traces. Test: perfetto_unittests Bug: 73051872 Change-Id: I76dbe5cfaf59c22e72d203da05c51d6200bd2ef0
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.