diff options
author | Geremy Condra <gcondra@google.com> | 2012-06-07 17:45:06 -0700 |
---|---|---|
committer | Geremy Condra <gcondra@google.com> | 2012-06-08 12:14:48 -0700 |
commit | 8b11c4cec21dc8eedd153866ce738614cfae57e6 (patch) | |
tree | ee313cc132aeda193792e290d1e4749f8f2e1712 /libc/private | |
parent | 158ad015c2eb8f0a7f0e91db706ca363e634f407 (diff) | |
download | bionic-8b11c4cec21dc8eedd153866ce738614cfae57e6.zip bionic-8b11c4cec21dc8eedd153866ce738614cfae57e6.tar.gz bionic-8b11c4cec21dc8eedd153866ce738614cfae57e6.tar.bz2 |
Adding event logging to libc.
I've basically just copied the relevant bits out of liblog and
EventLog.cpp. While this will let us do the uid logging we want
to address the concerns in 245c07027f78565858dd489eb0d94c3d48743e9d
it doesn't give us much else.
Change-Id: Icac6ff20bc0a3ade5927f6f76fedffe1ae6f8522
Diffstat (limited to 'libc/private')
-rw-r--r-- | libc/private/logd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/private/logd.h b/libc/private/logd.h index 4a9b62e..37d4104 100644 --- a/libc/private/logd.h +++ b/libc/private/logd.h @@ -48,4 +48,7 @@ int __libc_android_log_write(int prio, const char* tag, const char* buffer); int __libc_android_log_print(int prio, const char *tag, const char *fmt, ...); int __libc_android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap); +void __libc_android_log_event_int(int32_t tag, int value); +void __libc_android_log_event_uid(int32_t tag); + #endif /* _ANDROID_BIONIC_LOGD_H */ |