summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2018-05-31 17:20:00 +0100
committerFlorian Mayer <fmayer@google.com>2018-05-31 17:36:24 +0100
commit14e54c0d30e4866ac624850de9aebe80f2b15eb1 (patch)
tree775c0833d86ac806ec6b5e4a258693b097751afd
parent6ef8415d092f3866a0a228c9fedd52e46a9191e7 (diff)
Fix name of env variable in malloc_hooks README.
Change-Id: I172ef71c9d74ec6e4bc51fe2bd8e4587b801b71c
-rw-r--r--libc/malloc_hooks/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/malloc_hooks/README.md b/libc/malloc_hooks/README.md
index 85b276958..b418e1ef4 100644
--- a/libc/malloc_hooks/README.md
+++ b/libc/malloc_hooks/README.md
@@ -89,13 +89,13 @@ Enabling Examples
Enable the hooks for all processes:
adb shell stop
- adb shell setprop libc.debug.malloc.hooks 1
+ adb shell setprop libc.debug.hooks.enable 1
adb shell start
-Enable malloc debug using an environment variable:
+Enable malloc hooks using an environment variable:
adb shell
- # export LIBC_HOOK_ENABLE=1
+ # export LIBC_HOOKS_ENABLE=1
# ls
Any process spawned from this shell will run with malloc hooks enabled.