OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10dbaaa
)
simpleperf: fix a small error.
author
Yabin Cui
<yabinc@google.com>
Fri, 24 Feb 2017 20:37:42 +0000
(12:37 -0800)
committer
Yabin Cui
<yabinc@google.com>
Fri, 24 Feb 2017 20:37:42 +0000
(12:37 -0800)
Test: run binary_cache_builder.py.
Change-Id: I78b16b012bba641f82b33b936c94a1acd5bdf275
simpleperf/scripts/binary_cache_builder.py
patch
|
blob
|
history
diff --git
a/simpleperf/scripts/binary_cache_builder.py
b/simpleperf/scripts/binary_cache_builder.py
index
13c028d
..
aa0e6e6
100644
(file)
--- 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])