diff options
-rw-r--r-- | include/log/log.h | 1 | ||||
-rw-r--r-- | liblog/log_read.c | 1 | ||||
-rw-r--r-- | liblog/log_read_kern.c | 3 | ||||
-rw-r--r-- | liblog/logd_write.c | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/include/log/log.h b/include/log/log.h index f9299b0..0b17574 100644 --- a/include/log/log.h +++ b/include/log/log.h @@ -598,6 +598,7 @@ typedef enum log_id { LOG_ID_EVENTS = 2, LOG_ID_SYSTEM = 3, LOG_ID_CRASH = 4, + LOG_ID_KERNEL = 5, #endif LOG_ID_MAX diff --git a/liblog/log_read.c b/liblog/log_read.c index 5364e4f..9c4af30 100644 --- a/liblog/log_read.c +++ b/liblog/log_read.c @@ -208,6 +208,7 @@ static const char *LOG_NAME[LOG_ID_MAX] = { [LOG_ID_EVENTS] = "events", [LOG_ID_SYSTEM] = "system", [LOG_ID_CRASH] = "crash", + [LOG_ID_KERNEL] = "kernel", }; const char *android_log_id_to_name(log_id_t log_id) diff --git a/liblog/log_read_kern.c b/liblog/log_read_kern.c index bdc7b18..69b405c 100644 --- a/liblog/log_read_kern.c +++ b/liblog/log_read_kern.c @@ -62,7 +62,8 @@ static const char *LOG_NAME[LOG_ID_MAX] = { [LOG_ID_RADIO] = "radio", [LOG_ID_EVENTS] = "events", [LOG_ID_SYSTEM] = "system", - [LOG_ID_CRASH] = "crash" + [LOG_ID_CRASH] = "crash", + [LOG_ID_KERNEL] = "kernel", }; const char *android_log_id_to_name(log_id_t log_id) diff --git a/liblog/logd_write.c b/liblog/logd_write.c index c62a246..bdee28f 100644 --- a/liblog/logd_write.c +++ b/liblog/logd_write.c @@ -310,7 +310,8 @@ static const char *LOG_NAME[LOG_ID_MAX] = { [LOG_ID_RADIO] = "radio", [LOG_ID_EVENTS] = "events", [LOG_ID_SYSTEM] = "system", - [LOG_ID_CRASH] = "crash" + [LOG_ID_CRASH] = "crash", + [LOG_ID_KERNEL] = "kernel", }; const char *android_log_id_to_name(log_id_t log_id) |