summaryrefslogtreecommitdiff
path: root/atrace
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-09 22:07:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-09 22:07:07 +0000
commit9cfe96f81121b30cf715e88f72e042331cefb235 (patch)
treebd2381c4c5af0a8c9f208a9346bd371779789651 /atrace
parent9c7e33a7903d8c0036b848cf598921611a034ec3 (diff)
parent4c5ddf152b9cd033f45ecd06dfa562da4b5b3c7d (diff)
Merge "Fix log message enable -> disable"
Diffstat (limited to 'atrace')
-rw-r--r--atrace/1.0/default/AtraceDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/atrace/1.0/default/AtraceDevice.cpp b/atrace/1.0/default/AtraceDevice.cpp
index 35d11e9972..4e82b0adf3 100644
--- a/atrace/1.0/default/AtraceDevice.cpp
+++ b/atrace/1.0/default/AtraceDevice.cpp
@@ -94,7 +94,7 @@ Return<::android::hardware::atrace::V1_0::Status> AtraceDevice::disableAllCatego
for (auto& c : kTracingMap) {
for (auto& p : c.second.paths) {
if (!android::base::WriteStringToFile("0", p.first)) {
- LOG(ERROR) << "Failed to enable tracing on: " << p.first;
+ LOG(ERROR) << "Failed to disable tracing on: " << p.first;
if (p.second) {
ret = Status::ERROR_TRACING_POINT;
}