summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-07-02 23:13:43 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-02 23:13:43 +0000
commit774ca8931583322813f290cf7f1632b981ee17ee (patch)
tree6f94f8617cc2c37e69cb6c0b37db35dda738f44a /include
parentcee206880ef80ac570df6b369d12f111c00f653a (diff)
parented559bdb38e4f8edb183420f69490d4eba39f94b (diff)
downloadsystem_core-774ca8931583322813f290cf7f1632b981ee17ee.zip
system_core-774ca8931583322813f290cf7f1632b981ee17ee.tar.gz
system_core-774ca8931583322813f290cf7f1632b981ee17ee.tar.bz2
am ed559bdb: am 3dbd7e10: am 1aad06dd: Merge "implement LOG_EVENT_STRING"
* commit 'ed559bdb38e4f8edb183420f69490d4eba39f94b': implement LOG_EVENT_STRING
Diffstat (limited to 'include')
-rw-r--r--include/log/log.h2
-rw-r--r--include/log/logd.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/log/log.h b/include/log/log.h
index 5b76c1a..ace12d6 100644
--- a/include/log/log.h
+++ b/include/log/log.h
@@ -491,7 +491,7 @@ typedef enum {
#endif
#ifndef LOG_EVENT_STRING
#define LOG_EVENT_STRING(_tag, _value) \
- ((void) 0) /* not implemented -- must combine len with string */
+ (void) __android_log_bswrite(_tag, _value);
#endif
/* TODO: something for LIST */
diff --git a/include/log/logd.h b/include/log/logd.h
index 379c373..2e6f220 100644
--- a/include/log/logd.h
+++ b/include/log/logd.h
@@ -41,6 +41,7 @@ extern "C" {
int __android_log_bwrite(int32_t tag, const void *payload, size_t len);
int __android_log_btwrite(int32_t tag, char type, const void *payload,
size_t len);
+int __android_log_bswrite(int32_t tag, const char *payload);
#ifdef __cplusplus
}