commit | 1d518b42beb7918a95ffcee87b1870d77dc1aa7f | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Jan 11 19:09:45 2022 +0000 |
committer | Primiano Tucci <primiano@google.com> | Tue Jan 11 19:27:56 2022 +0000 |
tree | fb20bcf456f67ed6265f3072f8d6ad552eea7a76 | |
parent | c901a99e87dee77d158a681b5d57e37dfa70dc10 [diff] |
TraceProcessor: don't close the connection after /rpc requests This bug was introduced in the refactoring aosp/1883828. The previous code was not closing the connection after each /rpc request. Doing that defeats the whole point of a keep-alive connection. Test: manual (no more "[HTTP] New connection" seen in the logs when using trace_processor --httpd and ui.perfetto.dev) Change-Id: If591a555aa48464be49715e3fce5003c620861da
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.