summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-12-15 11:51:39 -0600
committerMark Salyzyn2015-02-26 08:37:35 -0600
commit6eef4171195f83541b3ee62cdcc4eac863c5edd9 (patch)
tree96f70ae277a1c718ac5b5b38bb628982ec0764c7 /liblog/README
parent895623e5cafc35450bc6cef5f6d4ca7195c6b08c (diff)
downloadplatform-system-core-6eef4171195f83541b3ee62cdcc4eac863c5edd9.tar.gz
platform-system-core-6eef4171195f83541b3ee62cdcc4eac863c5edd9.tar.xz
platform-system-core-6eef4171195f83541b3ee62cdcc4eac863c5edd9.zip
liblog: add pstore read
Used to pull the Android log messages after a reboot. Adding an ANDROID_LOG_PSTORE flag to the mode parameter in calls to android_logger_list_alloc() and android_logger_list_alloc_time(). The side effects are that android_logger_clear() and android_logger_list_read() will react with the user space pstore driver. Forms a companion to the pstore console logs. Change-Id: I7bb07b87b3bf73f059a21af3f810af37c7715b6d
Diffstat (limited to 'liblog/README')
-rw-r--r--liblog/README6
1 files changed, 5 insertions, 1 deletions
diff --git a/liblog/README b/liblog/README
index 0676aecb8..461dfbe98 100644
--- a/liblog/README
+++ b/liblog/README
@@ -116,6 +116,10 @@ DESCRIPTION
116 code, otherwise the android_logger_list_read call will block for new 116 code, otherwise the android_logger_list_read call will block for new
117 entries. 117 entries.
118 118
119 The ANDROID_LOG_PSTORE mode flag to the android_logger_open is used to
120 switch from the active logs to the persistent logs from before the last
121 reboot.
122
119 The value returned by android_logger_open can be used as a parameter to 123 The value returned by android_logger_open can be used as a parameter to
120 the android_logger_clear function to empty the sub-log. It is recom‐ 124 the android_logger_clear function to empty the sub-log. It is recom‐
121 mended to only open log ANDROID_LOG_WRONLY in that case. 125 mended to only open log ANDROID_LOG_WRONLY in that case.
@@ -132,4 +136,4 @@ SEE ALSO
132 136
133 137
134 138
135 17 Dec 2013 LIBLOG(3) 139 24 Jan 2014 LIBLOG(3)