Go to the documentation of this file.
17 #ifndef _LINUX_LOGGER_H
18 #define _LINUX_LOGGER_H
20 #include <linux/types.h>
43 #define LOGGER_LOG_RADIO "log_radio"
44 #define LOGGER_LOG_EVENTS "log_events"
45 #define LOGGER_LOG_SYSTEM "log_system"
46 #define LOGGER_LOG_MAIN "log_main"
48 #define LOGGER_ENTRY_MAX_LEN (4*1024)
49 #define LOGGER_ENTRY_MAX_PAYLOAD \
50 (LOGGER_ENTRY_MAX_LEN - sizeof(struct logger_entry))
52 #define __LOGGERIO 0xAE
54 #define LOGGER_GET_LOG_BUF_SIZE _IO(__LOGGERIO, 1)
55 #define LOGGER_GET_LOG_LEN _IO(__LOGGERIO, 2)
56 #define LOGGER_GET_NEXT_ENTRY_LEN _IO(__LOGGERIO, 3)
57 #define LOGGER_FLUSH_LOG _IO(__LOGGERIO, 4)