看书上说是 -b <buffer>;请求不同的环形缓冲区
main
radio
events还请详细解释下,多谢;
main
radio
events还请详细解释下,多谢;
解决方案 »
- 优酷安卓客户端里面的集数是如何显示的?
- android Socket 监听服务器下发消息问题
- 如何导入dalvik.annotation.EnclosingMethod
- 菜鸟请教广播问题
- Content Provider里面的getType方法什么时候被调用
- 急求!android framework 学习需要什么(包括工具、环境、入门路径)
- SurfaceView使用异常的问题
- 类继承了View, 在canvas上drawtext,能否使用外部字体?
- android图像处理问题,求大神指导,急!!!
- 线程应该是结束了,为什么isdone()这个方法不能判断通过
- 仿照android通讯录的显示功能
- Android自带浏览器网页重定向的处理
radio打出来的log和音频信息相关
而events打出来的log和android中keyevent,motionevent等响应事情有关
adb logcat -v time -b radio // 打印缓冲区内的radio 日志,是时时更新的,只要串口没断adb logcat -v time -d radio // 打印从开机到此时的缓冲区内的radio 日志
unsigned char *buffer;/* the ring buffer itself */
struct miscdevice misc; /* misc device representing the log */
wait_queue_head_t wq; /* wait queue for readers */
struct list_head readers; /* this log's readers */
struct mutex mutex; /* mutex protecting buffer */
size_t w_off; /* current write head offset */
size_t head; /* new readers start here */
size_t size; /* size of the log */
};
这是android内核中logger总最基本的结构,链表且首尾相连,系统中有4个这样的环形结构分别是main,events,radio,system。