Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
logger.h File Reference
#include <linux/types.h>
#include <linux/ioctl.h>

Go to the source code of this file.

Data Structures

struct  logger_entry
 

Macros

#define LOGGER_LOG_RADIO   "log_radio" /* radio-related messages */
 
#define LOGGER_LOG_EVENTS   "log_events" /* system/hardware events */
 
#define LOGGER_LOG_SYSTEM   "log_system" /* system/framework messages */
 
#define LOGGER_LOG_MAIN   "log_main" /* everything else */
 
#define LOGGER_ENTRY_MAX_LEN   (4*1024)
 
#define LOGGER_ENTRY_MAX_PAYLOAD   (LOGGER_ENTRY_MAX_LEN - sizeof(struct logger_entry))
 
#define __LOGGERIO   0xAE
 
#define LOGGER_GET_LOG_BUF_SIZE   _IO(__LOGGERIO, 1) /* size of log */
 
#define LOGGER_GET_LOG_LEN   _IO(__LOGGERIO, 2) /* used log len */
 
#define LOGGER_GET_NEXT_ENTRY_LEN   _IO(__LOGGERIO, 3) /* next entry len */
 
#define LOGGER_FLUSH_LOG   _IO(__LOGGERIO, 4) /* flush log */
 

Macro Definition Documentation

#define __LOGGERIO   0xAE

Definition at line 52 of file logger.h.

#define LOGGER_ENTRY_MAX_LEN   (4*1024)

Definition at line 48 of file logger.h.

#define LOGGER_ENTRY_MAX_PAYLOAD   (LOGGER_ENTRY_MAX_LEN - sizeof(struct logger_entry))

Definition at line 49 of file logger.h.

#define LOGGER_FLUSH_LOG   _IO(__LOGGERIO, 4) /* flush log */

Definition at line 57 of file logger.h.

#define LOGGER_GET_LOG_BUF_SIZE   _IO(__LOGGERIO, 1) /* size of log */

Definition at line 54 of file logger.h.

#define LOGGER_GET_LOG_LEN   _IO(__LOGGERIO, 2) /* used log len */

Definition at line 55 of file logger.h.

#define LOGGER_GET_NEXT_ENTRY_LEN   _IO(__LOGGERIO, 3) /* next entry len */

Definition at line 56 of file logger.h.

#define LOGGER_LOG_EVENTS   "log_events" /* system/hardware events */

Definition at line 44 of file logger.h.

#define LOGGER_LOG_MAIN   "log_main" /* everything else */

Definition at line 46 of file logger.h.

#define LOGGER_LOG_RADIO   "log_radio" /* radio-related messages */

Definition at line 43 of file logger.h.

#define LOGGER_LOG_SYSTEM   "log_system" /* system/framework messages */

Definition at line 45 of file logger.h.