Point to the NDK wrap.sh docs.
Bug: N/A
Test: N/A
Change-Id: Ic4c12a2ae43a6d733a23dcd2c901c2b6478eee97
diff --git a/libc/malloc_debug/README.md b/libc/malloc_debug/README.md
index 791bc7e..51540f8 100644
--- a/libc/malloc_debug/README.md
+++ b/libc/malloc_debug/README.md
@@ -555,7 +555,13 @@
### For app developers
-Enable malloc debug for a specific program/application (Android O or later):
+App developers should check the NDK documentation about
+[wrap.sh](https://developer.android.com/ndk/guides/wrap-script.html)
+for the best way to use malloc debug in Android O or later on non-rooted
+devices.
+
+If you do have a rooted device, you can enable malloc debug for a specific
+program/application (Android O or later):
adb shell setprop wrap.<APP> '"LIBC_DEBUG_MALLOC_OPTIONS=backtrace logwrapper"'