summaryrefslogtreecommitdiff
path: root/simpleperf/dso.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2016-06-15 11:41:42 -0700
committerYabin Cui <yabinc@google.com>2016-06-20 17:45:08 -0700
commit6965d42c43f12fd2dfcca3c490b51edc67822586 (patch)
tree70ea518ecc0dfc4ca725d6be500232517fb8dd7e /simpleperf/dso.cpp
parent90d56472a6981cbbeba5adfc293f920004cd9a22 (diff)
downloadextras-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.cpp6
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;
}