diff options
author | Yabin Cui <yabinc@google.com> | 2016-06-15 11:41:42 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2016-06-20 17:45:08 -0700 |
commit | 6965d42c43f12fd2dfcca3c490b51edc67822586 (patch) | |
tree | 70ea518ecc0dfc4ca725d6be500232517fb8dd7e /simpleperf/dso.cpp | |
parent | 90d56472a6981cbbeba5adfc293f920004cd9a22 (diff) | |
download | extras-6965d42c43f12fd2dfcca3c490b51edc67822586.tar.gz |
simpleperf: add kmem command to report slab allocation information.
Bug: 27403614
Change-Id: Id3015a4828ec32170ea1db3a1580b14a8bd159ba
Diffstat (limited to 'simpleperf/dso.cpp')
-rw-r--r-- | simpleperf/dso.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/simpleperf/dso.cpp b/simpleperf/dso.cpp index 4453817a..45ae124d 100644 --- a/simpleperf/dso.cpp +++ b/simpleperf/dso.cpp @@ -262,8 +262,7 @@ bool Dso::LoadKernel() { if (all_zero) { LOG(WARNING) << "Symbol addresses in /proc/kallsyms on device are all zero. " - "`echo 0 >/proc/sys/kernel/kptr_restrict` or use root privilege " - "if possible."; + "`echo 0 >/proc/sys/kernel/kptr_restrict` if possible."; symbols_.clear(); return false; } @@ -296,8 +295,7 @@ bool Dso::LoadKernel() { } if (all_zero) { LOG(WARNING) << "Symbol addresses in /proc/kallsyms are all zero. " - "`echo 0 >/proc/sys/kernel/kptr_restrict` or use root " - "privilege if possible."; + "`echo 0 >/proc/sys/kernel/kptr_restrict` if possible."; symbols_.clear(); return false; } |