Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: tools/memory_inspector/memory_inspector/frontends/www_content/index.html

Issue 549313006: [Android] memory_inspector: move to libheap_profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mi3_prebuilts
Patch Set: Add prebuilts Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/memory_inspector/memory_inspector/frontends/www_content/index.html
diff --git a/tools/memory_inspector/memory_inspector/frontends/www_content/index.html b/tools/memory_inspector/memory_inspector/frontends/www_content/index.html
index c2e8f4d7dc7642b7bdfd3dad1025ffe83ab5966c..a78820bb3153da21d67e5e2eeb165cd01f37a308 100644
--- a/tools/memory_inspector/memory_inspector/frontends/www_content/index.html
+++ b/tools/memory_inspector/memory_inspector/frontends/www_content/index.html
@@ -204,6 +204,27 @@
<div id="progress_bar"><div id="progress_bar-label">Progress...</div></div>
</div>
+ <div id="android_provision_dialog" title="Warning: this might brick your device">
+ <p>
+ <span class="ui-icon ui-icon-alert" style="float:left;"></span>
+ Full heap profiling requires some modifications to the Android system
+ (preload a library into the Android Zygote).
+ <br>
+ This feature has currently been tested on Nexus devices running Android K
+ and L. On some other untested devices / Android releases this might end up
+ bricking the device.
+ <br>
+ <b>Use this feature only on development rooted phones.</b>
+ <br><br>
+ If something goes wrong these are the steps to restore your device:
+ <code>
+ $ adb root && adb wait-for-device && adb remount
+ $ adb shell mv /system/bin/app_process.real /system/bin/app_process
+ $ adb reboot
+ </code>
+ </p>
+ </div>
+
<div id="js_loading_banner">
Loading JavaScript content. If you see this message something has probably gone wrong. Check JS console.
</div>

Powered by Google App Engine
This is Rietveld 408576698