summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2013-07-04 16:29:44 +0200
committerTanguy Pruvot <tanguy.pruvot@gmail.com>2013-07-05 00:25:43 +0200
commit437084c4ab0f649215abfbedcb38caeb56bdf3b8 (patch)
tree34e80594f6dc89bad8ccc3c1d658f5e6e7fa701c
parent56d97343cb6498cc61d6b7da9b754e6e1a410745 (diff)
downloadframeworks_native-437084c4ab0f649215abfbedcb38caeb56bdf3b8.zip
frameworks_native-437084c4ab0f649215abfbedcb38caeb56bdf3b8.tar.gz
frameworks_native-437084c4ab0f649215abfbedcb38caeb56bdf3b8.tar.bz2
libutils: get ride of debug trace file errors
put them as warning only... Change-Id: Idbdddbc83833c938288da6b7a68fb3539d139538
-rw-r--r--libs/utils/Trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/Trace.cpp b/libs/utils/Trace.cpp
index f5aaea3..5e005d3 100644
--- a/libs/utils/Trace.cpp
+++ b/libs/utils/Trace.cpp
@@ -45,7 +45,7 @@ void Tracer::init() {
"/sys/kernel/debug/tracing/trace_marker";
sTraceFD = open(traceFileName, O_WRONLY);
if (sTraceFD == -1) {
- ALOGE("error opening trace file: %s (%d)", strerror(errno), errno);
+ ALOGW("error opening trace file: %s (%d)", strerror(errno), errno);
sEnabledTags = 0; // no tracing can occur
} else {
loadSystemProperty();