2/08/2012

How to increase the android dmesg buffer

dmesg - print or control the kernel ring buffer
From the code, you shoud increase the value of " CONFIG_LOG_BUF_SHIFT " . It is in arch/arm/configs/xxx-defconfig.
  

#define __LOG_BUF_LEN   (1 << CONFIG_LOG_BUF_SHIFT)  
static char __log_buf[__LOG_BUF_LEN]; 
static int log_buf_len = __LOG_BUF_LEN;

No comments:

Post a Comment