赞
踩
(1)源码路径:system/core/liblog/logger_write.c:411: LIBLOG_ABI_PUBLIC int __android_log_write(int prio, const char* tag。
(2)日志记录器缓存区大小。辅助功能>开发者选项>日志记录器缓存区大小。
(3)
kernel\drivers\staging\android\logger.c,
在
static int __init logger_init(void)
{
int ret;
ret = create_log(LOGGER_LOG_MAIN, 256*1024*8);
if (unlikely(ret))
goto out;
ret = create_log(LOGGER_LOG_EVENTS, 256*1024*8);
if (unlikely(ret))
goto out;
ret = create_log(LOGGER_LOG_RADIO, 256*1024*8);
if (unlikely(ret))
goto out;
ret = create_log(LOGGER_LOG_SYSTEM, 256*1024*8);
if (unlikely(ret))
goto out;
out:
return ret;
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。