diff options
Diffstat (limited to 'en/devices/tech/debug/valgrind.html')
-rw-r--r-- | en/devices/tech/debug/valgrind.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/en/devices/tech/debug/valgrind.html b/en/devices/tech/debug/valgrind.html index 6abbc999..287e21de 100644 --- a/en/devices/tech/debug/valgrind.html +++ b/en/devices/tech/debug/valgrind.html @@ -25,10 +25,10 @@ (for detecting memory-related errors in C and C++), Cachegrind (a cache profiler), Massif (a heap profiler), and several other tools.</p> -<p class="warning"><strong>Note:</strong> While you can still use Valgrind for Android -debugging, Android platform developers use -<a href="/devices/tech/debug/asan.html">AddressSanitizer</a> instead. -Valgrind will be removed from the platform in a future release.</p> +<aside class="warning"><strong>Warning:</strong> Valgrind is deprecated and has + been removed from AOSP master. We strongly recommend using the + <a href="/devices/tech/debug/asan.html">AddressSanitizer</a> tool instead. +</aside> <h2 id=build-valgrind>Building Valgrind</h2> <p>To build Valgrind:</p> @@ -68,7 +68,7 @@ mmma -j6 external/valgrind <code>out/target/product/XXXX/root/init.rc</code> by changing</p> <pre class="devsite-click-to-copy">service example /system/bin/foo --arg1 --arg2</pre> <p>to:</p> -<pre class="devsite-click-to-copy">>service example /system/bin/logwrapper /system/bin/valgrind /system/bin/foo --arg1 --arg2</pre> +<pre class="devsite-click-to-copy">service example /system/bin/logwrapper /system/bin/valgrind /system/bin/foo --arg1 --arg2</pre> <p>To see the effects, create a <code>boot.img</code> and reflash the device.</p> |