perfetto-ui: Changing picture in the record page for heap profiling
Updating picture for recording heap profiles to include flamegraph.
Change-Id: I93296d17913e14b2858f0cbc37c00e019e61c2ee
diff --git a/ui/BUILD.gn b/ui/BUILD.gn
index f7f5529..115e8e9 100644
--- a/ui/BUILD.gn
+++ b/ui/BUILD.gn
@@ -355,6 +355,7 @@
copy("assets_dist") {
sources = [
+ "src/assets/heap_profiler.png",
"src/assets/logo-3d.png",
"src/assets/logo.png",
"src/assets/rec_atrace.png",
diff --git a/ui/src/assets/heap_profiler.png b/ui/src/assets/heap_profiler.png
new file mode 100644
index 0000000..bb3b010
--- /dev/null
+++ b/ui/src/assets/heap_profiler.png
Binary files differ
diff --git a/ui/src/frontend/record_page.ts b/ui/src/frontend/record_page.ts
index 7fac1cb..21df365 100644
--- a/ui/src/frontend/record_page.ts
+++ b/ui/src/frontend/record_page.ts
@@ -386,8 +386,7 @@
m(Probe,
{
title: 'Heap profiling',
- // TODO(tneda): Image should be one with flamegraphs.
- img: 'rec_meminfo.png',
+ img: 'heap_profiler.png',
descr: `Track native heap allocations & deallocations of an Android
process. (Available on Android 10+)`,
setEnabled: (cfg, val) => cfg.heapProfiling = val,