〖Android〗/system/etc/event-log-tags

一博客中,一段的注释的解释:[From: http://blog.youkuaiyun.com/hustpzb/article/details/8525324]

/** 
 * Access to the system diagnostic event record.  System diagnostic events are 
 * used to record certain system-level events (such as garbage collection, 
 * activity manager state, system watchdogs, and other low level activity), 
 * which may be automatically collected and analyzed during system development. 
 * 
 * <p>This is <b>not</b> the main "logcat" debugging log ({@link android.util.Log})! 
 * These diagnostic events are for system integrators, not application authors. 
 * 
 * <p>Events use integer tag codes corresponding to /system/etc/event-log-tags. 
 * They carry a payload of one or more int, long, or String values.  The 
 * event-log-tags file defines the payload contents for each type code. 
 */  

 

在Google Andorid代码中:

system/core/include/cutils/event_tag_map.h 第24行

 

其中另一博客亦有详细的介绍:[From: http://blog.youkuaiyun.com/darkengine/article/details/8477502]

 

总而言之,按个人理解,这个是用来设定、配置输出日志(event log)格式的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值