diff options
author | Yabin Cui <yabinc@google.com> | 2022-02-01 20:13:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-02-01 20:13:35 +0000 |
commit | ba96de6b6ebc650cacf3c31cfeef3d0364c6740b (patch) | |
tree | 88f1f206f91b8043b84fed3effcbc67d324fc2b4 | |
parent | 61a427a01de6c729ef13164c5a7aaa6997a6f652 (diff) | |
parent | f058ffab0add91c28963dfcb3c79000f43654b83 (diff) | |
download | extras-ba96de6b6ebc650cacf3c31cfeef3d0364c6740b.tar.gz |
Merge "simpleperf: move OpenCSD error report to debug level."
-rw-r--r-- | simpleperf/ETMDecoder.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/simpleperf/ETMDecoder.cpp b/simpleperf/ETMDecoder.cpp index 4c72331e..41a7d130 100644 --- a/simpleperf/ETMDecoder.cpp +++ b/simpleperf/ETMDecoder.cpp @@ -31,7 +31,7 @@ namespace { class DecoderLogStr : public ocsdMsgLogStrOutI { public: - void printOutStr(const std::string& out_str) override { LOG(INFO) << out_str; } + void printOutStr(const std::string& out_str) override { LOG(DEBUG) << out_str; } }; class DecodeErrorLogger : public ocsdDefaultErrorLogger { @@ -761,9 +761,8 @@ class ETMDecoderImpl : public ETMDecoder { map_locator_.reset(new MapLocator(thread_tree_)); for (auto& cfg : configs_) { int64_t configr = (*(const ocsd_etmv4_cfg*)*cfg.second).reg_configr; - map_locator_->SetUseVmid( - cfg.first, - configr & (1U << ETM4_CFG_BIT_VMID | 1U << ETM4_CFG_BIT_VMID_OPT)); + map_locator_->SetUseVmid(cfg.first, + configr & (1U << ETM4_CFG_BIT_VMID | 1U << ETM4_CFG_BIT_VMID_OPT)); } InstallPacketCallback(map_locator_.get()); |