commit | b9f62d6b3ecf6e9b8843a4878ffa473d897ea304 | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adsrini@google.com> | Thu Jun 18 11:28:12 2020 -0700 |
committer | Adithya Srinivasan <adsrini@google.com> | Fri Jun 26 13:59:39 2020 -0700 |
tree | ce03817c068dd46f65479f6b8d1433a537ee8bb5 | |
parent | a265b40f0b731b0e484fe9b48504f1b6ed0e9e57 [diff] |
GpuMem perfetto producer To overcome the problem of ftrace gpumem events not emitting anything during MEC (with apps that do launch-time allocations), this change adds a perfetto producer to emit initial counter values at the start of a trace, so that the visualization won't so zero usage. Test: adb shell perfetto --query | grep gpu. Test: Take a perfetto trace with android.gpumem enabled Bug: 157142645 Change-Id: I5c8278754549399ffa51e6e6fc2ca69b51976cb2