summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-01-23 23:59:45 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-23 23:59:45 +0000
commit982421df4584f5691b33444ae3e18b81d6544b6a (patch)
tree097f58f7c8382570d3cffe38daba10831df07a44 /include/private
parent95a68d3b5beb9ca0eb50276578a47f3f0882e199 (diff)
parent91581f19906ade01eabc6e10a7dac209e710117a (diff)
downloadsystem_core-982421df4584f5691b33444ae3e18b81d6544b6a.zip
system_core-982421df4584f5691b33444ae3e18b81d6544b6a.tar.gz
system_core-982421df4584f5691b33444ae3e18b81d6544b6a.tar.bz2
am 91581f19: Merge "liblog: add pstore write"
* commit '91581f19906ade01eabc6e10a7dac209e710117a': liblog: add pstore write
Diffstat (limited to 'include/private')
-rw-r--r--include/private/android_logger.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/private/android_logger.h b/include/private/android_logger.h
index 54aa86b..cc7ba30 100644
--- a/include/private/android_logger.h
+++ b/include/private/android_logger.h
@@ -24,7 +24,17 @@
#include <log/log.h>
#include <log/log_read.h>
-/* Header Structure to logd */
+#define LOGGER_MAGIC 'l'
+
+/* Header Structure to pstore */
+typedef struct __attribute__((__packed__)) {
+ uint8_t magic;
+ uint16_t len;
+ uint16_t uid;
+ uint16_t pid;
+} android_pmsg_log_header_t;
+
+/* Header Structure to logd, and second header for pstore */
typedef struct __attribute__((__packed__)) {
typeof_log_id_t id;
uint16_t tid;