Remove extraneous logging.
bug 8888887
Change-Id: Ief798e6e139fd4971ce53f090004478f4e036a03
diff --git a/lib/Renderscript/RSExecutable.cpp b/lib/Renderscript/RSExecutable.cpp
index b918835..be39f3c 100644
--- a/lib/Renderscript/RSExecutable.cpp
+++ b/lib/Renderscript/RSExecutable.cpp
@@ -69,8 +69,8 @@
const char *name = *var_iter;
void *addr = result->getSymbolAddress(name);
if (addr == NULL) {
- ALOGW("RS export var at entry #%u named %s cannot be found in the result "
- "object!", idx, name);
+ //ALOGW("RS export var at entry #%u named %s cannot be found in the result "
+ //"object!", idx, name);
}
result->mExportVarAddrs.push_back(addr);
}
@@ -86,8 +86,8 @@
const char *name = *func_iter;
void *addr = result->getSymbolAddress(name);
if (addr == NULL) {
- ALOGW("RS export func at entry #%u named %s cannot be found in the result"
- " object!", idx, name);
+ // ALOGW("RS export func at entry #%u named %s cannot be found in the result"
+ //" object!", idx, name);
}
result->mExportFuncAddrs.push_back(addr);
}
@@ -105,8 +105,8 @@
expanded_func_name.append(".expand");
void *addr = result->getSymbolAddress(expanded_func_name.string());
if (addr == NULL) {
- ALOGW("Expanded RS foreach at entry #%u named %s cannot be found in the "
- "result object!", idx, expanded_func_name.string());
+ // ALOGW("Expanded RS foreach at entry #%u named %s cannot be found in the "
+ // "result object!", idx, expanded_func_name.string());
}
result->mExportForeachFuncAddrs.push_back(addr);
}
@@ -169,8 +169,8 @@
android::Vector<const char *> func_list;
if (!mLoader->getSymbolNameList(func_list, ObjectLoader::kFunctionType)) {
- ALOGW("Failed to get the list of function name in %s for disassembly!",
- mObjFile->getName().c_str());
+ ALOGW("Failed to get the list of function name in %s for disassembly!",
+ mObjFile->getName().c_str());
} else {
// Disassemble each function
for (size_t i = 0, e = func_list.size(); i != e; i++) {
@@ -186,12 +186,12 @@
reinterpret_cast<const uint8_t *>(func), func_size);
if (result != kDisassembleSuccess) {
- ALOGW("Failed to disassemble the function %s in %s (error code=%zu)!",
- func_name, mObjFile->getName().c_str(), static_cast<size_t>(result));
+ ALOGW("Failed to disassemble the function %s in %s (error code=%zu)!",
+ func_name, mObjFile->getName().c_str(), static_cast<size_t>(result));
if (result != kDisassembleInvalidInstruction) {
- ALOGW("And the error occured in disassembler is fatal. Abort "
- "disassembler on remaining functions!");
+ ALOGW("And the error occured in disassembler is fatal. Abort "
+ "disassembler on remaining functions!");
break;
}
}