summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-02-23 13:57:21 -0800
committerSteven Moreland <smoreland@google.com>2017-02-23 13:58:33 -0800
commitc4dd210df92f8d58adae5e27631be4d92cba0c43 (patch)
tree0480c7129a7142531f916bbc358cd63cdadcad9b
parent824875dd459cbadd5e48ffa077cb8d72b54fd17c (diff)
downloadlibhwbinder-c4dd210df92f8d58adae5e27631be4d92cba0c43.tar.gz
Distinguish libhwbinder log tags.
find ./*.cpp -type f -exec sed -i -e 's/LOG_TAG "/LOG_TAG "hw-/g' {} \; Also added logtag for BufferedTextOutput. Fixes: 35713802 Test: hidl_test (for sanity) Change-Id: I7159dca318c1014a61046d247ef31d67c3ac2b55
-rw-r--r--BpHwBinder.cpp2
-rw-r--r--BufferedTextOutput.cpp2
-rw-r--r--IInterface.cpp2
-rw-r--r--IPCThreadState.cpp2
-rw-r--r--Parcel.cpp2
-rw-r--r--ProcessState.cpp2
6 files changed, 7 insertions, 5 deletions
diff --git a/BpHwBinder.cpp b/BpHwBinder.cpp
index 762d048..6a752f8 100644
--- a/BpHwBinder.cpp
+++ b/BpHwBinder.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "BpHwBinder"
+#define LOG_TAG "hw-BpHwBinder"
//#define LOG_NDEBUG 0
#include <hwbinder/BpHwBinder.h>
diff --git a/BufferedTextOutput.cpp b/BufferedTextOutput.cpp
index 36f212b..8ef48e1 100644
--- a/BufferedTextOutput.cpp
+++ b/BufferedTextOutput.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "hw-BufferedTextOutput"
+
#include <hwbinder/BufferedTextOutput.h>
#include <hwbinder/Debug.h>
diff --git a/IInterface.cpp b/IInterface.cpp
index b22879d..01866e6 100644
--- a/IInterface.cpp
+++ b/IInterface.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "IInterface"
+#define LOG_TAG "hw-IInterface"
#include <utils/Log.h>
#include <hwbinder/IInterface.h>
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index 74ff59e..83e2dd8 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "IPCThreadState"
+#define LOG_TAG "hw-IPCThreadState"
#include <hwbinder/IPCThreadState.h>
diff --git a/Parcel.cpp b/Parcel.cpp
index 81f97e3..2fa0f50 100644
--- a/Parcel.cpp
+++ b/Parcel.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "Parcel"
+#define LOG_TAG "hw-Parcel"
//#define LOG_NDEBUG 0
#include <errno.h>
diff --git a/ProcessState.cpp b/ProcessState.cpp
index 21223fb..9ce070c 100644
--- a/ProcessState.cpp
+++ b/ProcessState.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "ProcessState"
+#define LOG_TAG "hw-ProcessState"
#include <hwbinder/ProcessState.h>