/system/core/liblog/tests/ |
H A D | libc_test.cpp | 37 struct logger_list *logger_list; local 41 ASSERT_TRUE(NULL != (logger_list = android_logger_list_open( 55 if (android_logger_list_read(logger_list, &log_msg) <= 0) { 93 android_logger_list_close(logger_list); 97 struct logger_list *logger_list; local 101 ASSERT_TRUE(NULL != (logger_list = android_logger_list_open( 116 if (android_logger_list_read(logger_list, &log_msg) <= 0) { 137 android_logger_list_close(logger_list); [all...] |
H A D | liblog_benchmark.cpp | 132 struct logger_list * logger_list = android_logger_list_open(LOG_ID_EVENTS, local 135 if (!logger_list) { 151 int ret = android_logger_list_read(logger_list, &log_msg); 192 android_logger_list_free(logger_list); 210 struct logger_list * logger_list = android_logger_list_open(LOG_ID_EVENTS, local 213 if (!logger_list) { 231 int ret = android_logger_list_read(logger_list, &log_msg); 266 android_logger_list_free(logger_list); [all...] |
H A D | liblog_test.cpp | 123 struct logger_list *logger_list; local 127 ASSERT_TRUE(NULL != (logger_list = android_logger_list_open( 139 if (android_logger_list_read(logger_list, &log_msg) <= 0) { 164 android_logger_list_close(logger_list); 221 struct logger_list *logger_list; local 228 ASSERT_TRUE(NULL != (logger_list = android_logger_list_open( 250 if (android_logger_list_read(logger_list, &log_msg) <= 0) { 292 android_logger_list_close(logger_list); 447 struct logger_list *logger_list; local 509 struct logger_list *logger_list; local 602 struct logger_list * logger_list = android_logger_list_alloc(ANDROID_LOG_WRONLY, 0, 0); local 891 struct logger_list *logger_list; local 972 struct logger_list *logger_list; local 1059 struct logger_list *logger_list; local 1102 struct logger_list *logger_list; local 1182 struct logger_list *logger_list; local 1239 struct logger_list *logger_list; local [all...] |
/system/core/debuggerd/test/ |
H A D | log_fake.cpp | 72 extern "C" struct logger_list* android_logger_list_open(log_id_t, int, unsigned int, pid_t) { 76 extern "C" int android_logger_list_read(struct logger_list*, struct log_msg*) { argument 90 extern "C" void android_logger_list_free(struct logger_list*) { argument
|
/system/core/liblog/ |
H A D | log_read_kern.c | 50 #define logger_for_each(logger, logger_list) \ 51 for (logger = node_to_item((logger_list)->node.next, struct logger, node); \ 52 logger != node_to_item(&(logger_list)->node, struct logger, node); \ 136 struct logger_list { struct 156 struct logger_list *top; 269 ssize_t android_logger_get_statistics(struct logger_list *logger_list __unused, 276 ssize_t android_logger_get_prune_list(struct logger_list *logger_list __unused, 283 int android_logger_set_prune_list(struct logger_list *logger_lis 295 struct logger_list *logger_list; local 319 android_logger_open(struct logger_list *logger_list, log_id_t id) argument 375 struct logger_list *logger_list = android_logger_list_alloc(mode, tail, pid); local 389 queue_threshold(struct logger_list *logger_list) argument 401 android_logger_list_flush(struct logger_list *logger_list, struct log_msg *log_msg) argument 502 android_logger_list_read(struct logger_list *logger_list, struct log_msg *log_msg) argument 729 android_logger_list_free(struct logger_list *logger_list) argument [all...] |
H A D | log_read.c | 199 #define logger_for_each(logger, logger_list) \ 200 for (logger = node_to_item((logger_list)->node.next, struct logger, node); \ 201 logger != node_to_item(&(logger_list)->node, struct logger, node); \ 246 struct logger_list { struct 257 struct logger_list *top; 484 ssize_t android_logger_get_statistics(struct logger_list *logger_list, argument 497 logger_for_each(logger, logger_list) { 506 ssize_t android_logger_get_prune_list(struct logger_list *logger_list __unuse 532 struct logger_list *logger_list; local 554 struct logger_list *logger_list; local 575 android_logger_open(struct logger_list *logger_list, log_id_t id) argument 612 struct logger_list *logger_list = android_logger_list_alloc(mode, tail, pid); local 625 android_logger_list_read_pstore(struct logger_list *logger_list, struct log_msg *log_msg) argument 740 android_logger_list_read(struct logger_list *logger_list, struct log_msg *log_msg) argument 883 android_logger_list_free(struct logger_list *logger_list) argument [all...] |
/system/core/debuggerd/ |
H A D | tombstone.cpp | 492 struct logger_list* logger_list; local 498 logger_list = android_logger_list_open( 501 if (!logger_list) { 509 ssize_t actual = android_logger_list_read(logger_list, &log_entry); 601 android_logger_list_free(logger_list);
|
/system/core/logcat/ |
H A D | logcat.cpp | 50 struct logger_list *logger_list; member in struct:log_device_t 61 logger_list = NULL; 479 struct logger_list *logger_list; local 824 logger_list = android_logger_list_alloc_time(mode, tail_time, 0); 826 logger_list = android_logger_list_alloc(mode, tail_lines, 0); 829 dev->logger_list = logger_list; 830 dev->logger = android_logger_open(logger_list, [all...] |