summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-02-25 00:31:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-25 00:31:13 +0000
commit3c7ae46f92ca7014f364a0c13931693fb3c54b0d (patch)
tree262c918a4fae1c29cbca1fc79e6d402adce6e588
parent10dbaaa7263682e5100616cc630b4fbba31fb6fc (diff)
parenta54fa032e43ca899c41fcc383efa5c66d88e0f53 (diff)
downloadextras-3c7ae46f92ca7014f364a0c13931693fb3c54b0d.tar.gz
Merge "simpleperf: fix a small error."
-rw-r--r--simpleperf/scripts/binary_cache_builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/scripts/binary_cache_builder.py b/simpleperf/scripts/binary_cache_builder.py
index 13c028d6..aa0e6e69 100644
--- a/simpleperf/scripts/binary_cache_builder.py
+++ b/simpleperf/scripts/binary_cache_builder.py
@@ -221,7 +221,7 @@ class BinaryCacheBuilder(object):
if os.path.isfile(file):
os.remove(file)
if self.adb.switch_to_root():
- self.adb.run(['shell', '"echo 0>/proc/sys/kernel/kptr_restrict"'])
+ self.adb.run(['shell', '"echo 0 >/proc/sys/kernel/kptr_restrict"'])
self.adb.run(['pull', '/proc/kallsyms', file])