1# The entries in this file map a sparse set of log tag numbers to tag names. 2# This is installed on the device, in /system/etc, and parsed by logcat. 3# 4# Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the 5# negative values alone for now.) 6# 7# Tag names are one or more ASCII letters and numbers or underscores, i.e. 8# "[A-Z][a-z][0-9]_". Do not include spaces or punctuation (the former 9# impacts log readability, the latter makes regex searches more annoying). 10# 11# Tag numbers and names are separated by whitespace. Blank lines and lines 12# starting with '#' are ignored. 13# 14# Optionally, after the tag names can be put a description for the value(s) 15# of the tag. Description are in the format 16# (<name>|data type[|data unit]) 17# Multiple values are separated by commas. 18# 19# The data type is a number from the following values: 20# 1: int 21# 2: long 22# 3: string 23# 4: list 24# 5: float 25# 26# The data unit is a number taken from the following list: 27# 1: Number of objects 28# 2: Number of bytes 29# 3: Number of milliseconds 30# 4: Number of allocations 31# 5: Id 32# 6: Percent 33# Default value for data of type int/long is 2 (bytes). 34# 35# TODO: generate ".java" and ".h" files with integer constants from this file. 36 37# These are used for testing, do not modify without updating 38# tests/framework-tests/src/android/util/EventLogFunctionalTest.java. 3942 answer (to life the universe etc|3) 40314 pi 412718 e 42 43# "account" is the java hash of the account name 442720 sync (id|3),(event|1|5),(source|1|5),(account|1|5) 45 46# This event is logged when the location service uploads location data. 472740 location_controller 48# This event is logged when someone is deciding to force a garbage collection 492741 force_gc (reason|3) 50# This event is logged on each tickle 512742 tickle (authority|3) 52 53# contacts aggregation: time and number of contacts. 54# count is negative for query phase, positive for merge phase 552747 contacts_aggregation (aggregation time|2|3), (count|1|1) 56 57# Device boot timings. We include monotonic clock values because the 58# intrinsic event log times are wall-clock. 59# 60# Runtime starts: 613000 boot_progress_start (time|2|3) 62# ZygoteInit class preloading starts: 633020 boot_progress_preload_start (time|2|3) 64# ZygoteInit class preloading ends: 653030 boot_progress_preload_end (time|2|3) 66 67# Dalvik VM 6820003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3),(ownerline|1|5),(sample_percent|1|6) 69 7075000 sqlite_mem_alarm_current (current|1|2) 7175001 sqlite_mem_alarm_max (max|1|2) 7275002 sqlite_mem_alarm_alloc_attempt (attempts|1|4) 7375003 sqlite_mem_released (Memory released|1|2) 7475004 sqlite_db_corrupt (Database file corrupt|3) 75 7650000 menu_item_selected (Menu type where 0 is options and 1 is context|1|5),(Menu item title|3) 7750001 menu_opened (Menu type where 0 is options and 1 is context|1|5) 78 79# HSM wifi state change 80# Hierarchical state class name (as defined in WifiStateTracker.java) 81# Logged on every state change in the hierarchical state machine 8250021 wifi_state_changed (wifi_state|3) 83# HSM wifi event 84# [31-16] Reserved for future use 85# [15 - 0] HSM event (as defined in WifiStateTracker.java) 86# Logged when an event is handled in a hierarchical state 8750022 wifi_event_handled (wifi_event|1|5) 88# Supplicant state change 89# [31-13] Reserved for future use 90# [8 - 0] Supplicant state (as defined in SupplicantState.java) 91# Logged when the supplicant switches to a new state 9250023 wifi_supplicant_state_changed (supplicant_state|1|5) 93 94# Database operation samples. 95# db: the filename of the database 96# sql: the executed query (without query args) 97# time: cpu time millis (not wall time), including lock acquisition 98# blocking_package: if this is on a main thread, the package name, otherwise "" 99# sample_percent: the percent likelihood this query was logged 10052000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 101 102# http request/response stats 10352001 http_stats (useragent|3),(response|2|3),(processing|2|3),(tx|1|2),(rx|1|2) 10460000 viewroot_draw (Draw time|1|3) 10560001 viewroot_layout (Layout time|1|3) 10660002 view_build_drawing_cache (View created drawing cache|1|5) 10760003 view_use_drawing_cache (View drawn using bitmap cache|1|5) 108 109# graphics timestamp 110# 60100 - 60199 reserved for surfaceflinger 111 112# 0 for screen off, 1 for screen on, 2 for key-guard done 11370000 screen_toggled (screen_state|1|5) 114 115# aggregation service 11670200 aggregation (aggregation time|2|3) 11770201 aggregation_test (field1|1|2),(field2|1|2),(field3|1|2),(field4|1|2),(field5|1|2) 118 119# libc failure logging 12080100 bionic_event_memcpy_buffer_overflow (uid|1) 12180105 bionic_event_strcat_buffer_overflow (uid|1) 12280110 bionic_event_memmov_buffer_overflow (uid|1) 12380115 bionic_event_strncat_buffer_overflow (uid|1) 12480120 bionic_event_strncpy_buffer_overflow (uid|1) 12580125 bionic_event_memset_buffer_overflow (uid|1) 12680130 bionic_event_strcpy_buffer_overflow (uid|1) 127 12880200 bionic_event_strcat_integer_overflow (uid|1) 12980205 bionic_event_strncat_integer_overflow (uid|1) 130 13180300 bionic_event_resolver_old_response (uid|1) 13280305 bionic_event_resolver_wrong_server (uid|1) 13380310 bionic_event_resolver_wrong_query (uid|1) 134 135# libcore failure logging 13690100 exp_det_cert_pin_failure (certs|4) 137 1381397638484 snet_event_log (subtag|3) (uid|1) (message|3) 139 140# NOTE - the range 1000000-2000000 is reserved for partners and others who 141# want to define their own log tags without conflicting with the core platform. 142