commit | 23f79371b2759767c17fefd68c3aed07f0aac409 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Jun 16 14:37:06 2020 +0200 |
committer | Florian Mayer <fmayer@google.com> | Tue Jun 16 14:37:06 2020 +0200 |
tree | b79e0925c7b04ac432bac978469d4907c0a9b6b5 | |
parent | 359f70a9b525ad8b1a98eac958bde17b6978f064 [diff] |
Separate client management from hooks. Currently, we include the client in the same library as the malloc hooks. This is incorrect, as the malloc hooks should ship within the com.android.runtime APEX, while the client should ship with the platform (or wherever the heapprofd executable ships from). This can then also be used for ART object allocation callstack tracking. Diff of HEAD~1:malloc_hooks.cc and client_ext.cc: https://gist.github.com/segfaulthunter/05b7f0253a79c18b851d595a5d1df2a5 Test: get system_server profile. Change-Id: If2b96e9a8c6baadcac8eea999653c6dd16977dca Bug: 141241849
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://docs.perfetto.dev or the /docs/ directory for documentation.