commit | 25b472496ecf77a8a428815088b16b93015d372d | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu May 23 14:56:27 2024 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu May 23 14:56:27 2024 +0100 |
tree | 765c73c7935b837393b9c314a5a61eae0e20e14f | |
parent | 03fe17e0be05dd6c60cf6351a696c1864468b982 [diff] |
tp: fix tracking when process reuse happens before ftrace starts This CL fixes a subtle issue with process tracking when a new process is spawned *before* we have ftrace events telling us exactly what processes died and restarted. In this case, we were not correctly creating new processes based on the parent pid changing. There might still be an edge case here with processes getting reparented to init but that seems a very rare edge case so we don't tackle it until we see an example of that. Change-Id: Ib68ef1159d852cd33f2761329a349a6045586983 Bug: 339301226
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.