summaryrefslogtreecommitdiff
path: root/simpleperf/dso.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2020-12-12 01:33:35 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-12-12 01:33:35 +0000
commit9ae17c2c08c0cdd0d4f946e566b7d96ee60cb9ab (patch)
tree989b132e00e92620ef846f4abb74627feb5bf08e /simpleperf/dso.cpp
parent80863406fd734eb2f0bf25fafa84f74318662998 (diff)
parentb0ea5fa26949f3b1bace14314e0312fb187d6430 (diff)
downloadextras-9ae17c2c08c0cdd0d4f946e566b7d96ee60cb9ab.tar.gz
Merge changes Ic892ba07,Ic64956cd
* changes: simpleperf: fix confusing recursive call. simpleperf: extract common code into report_utils.cpp
Diffstat (limited to 'simpleperf/dso.cpp')
-rw-r--r--simpleperf/dso.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/dso.cpp b/simpleperf/dso.cpp
index f034997b..5eb42bf4 100644
--- a/simpleperf/dso.cpp
+++ b/simpleperf/dso.cpp
@@ -382,7 +382,7 @@ void Dso::AddUnknownSymbol(uint64_t vaddr_in_dso, const std::string& name) {
unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1)));
}
-bool Dso::IsForJavaMethod() {
+bool Dso::IsForJavaMethod() const {
if (type_ == DSO_DEX_FILE) {
return true;
}