event.logtags revision a43d27539156daf08b34bcaa07661fe0e66fa345
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# 25# The data unit is a number taken from the following list: 26# 1: Number of objects 27# 2: Number of bytes 28# 3: Number of milliseconds 29# 4: Number of allocations 30# 5: Id 31# 6: Percent 32# Default value for data of type int/long is 2 (bytes). 33# 34# TODO: generate ".java" and ".h" files with integer constants from this file. 35 36# These are used for testing, do not modify without updating 37# tests/framework-tests/src/android/util/EventLogFunctionalTest.java. 3842 answer (to life the universe etc|3) 39314 pi 402718 e 41 422719 configuration_changed (config mask|1|5) 43# "account" is the java hash of the account name 442720 sync (id|3),(event|1|5),(source|1|5),(account|1|5) 452721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6) 46 47# This event is logged when the location service uploads location data. 482740 location_controller 49# This event is logged when someone is deciding to force a garbage collection 502741 force_gc (reason|3) 51# This event is logged on each tickle 522742 tickle (authority|3) 53# What happens in a sync operation (bytes sent and received, and 54# operation details) 552743 sync_details (authority|3),(send|1|2),(recv|1|2),(details|3) 56 57# contacts aggregation: time and number of contacts. 58# count is negative for query phase, positive for merge phase 592747 contacts_aggregation (aggregation time|2|3), (count|1|1) 60 61# This event is logged when GTalkService encounters important events 622800 gtalkservice (eventType|1) 63# This event is logged for GTalk connection state changes. The status field is an int, but 64# it really contains 4 separate values, each taking up a byte 65# (eventType << 24) + (connection state << 16) + (connection error << 8) + network state 662801 gtalk_connection (status|1) 67 68# Device boot timings. We include monotonic clock values because the 69# intrinsic event log times are wall-clock. 70# 71# Runtime starts: 723000 boot_progress_start (time|2|3) 73# ZygoteInit class preloading starts: 743020 boot_progress_preload_start (time|2|3) 75# ZygoteInit class preloading ends: 763030 boot_progress_preload_end (time|2|3) 77# ActivityManagerService.systemReady() starts: 783040 boot_progress_ams_ready (time|2|3) 79# ActivityManagerService calls enableScreenAfterBoot(): 803050 boot_progress_enable_screen (time|2|3) 81 82# This event is logged when GTalk connection is closed. 83# The status field is an int, but contains 2 different values, it's represented as 84# 85# (networkType << 8) + connection error 86# 87# the possible error values are 88# 89# no_error=0, no_network=1, connection_failed=2, unknown_host=3, auth_failed=4, 90# auth_expired=5, heart_beat_timeout=6, server_error=7, server_reject_rate_limiting=8, unknown=10 91# 92# duration is the connection duration. 934000 gtalk_conn_close (status|1),(duration|1) 94 95# This event is logged for GTalk heartbeat resets 96# interval_and_nt contains both the heartbeat interval and the network type, It's represented as 97# (networkType << 16) + interval 98# interval is in seconds; network type can be 0 (mobile) or 1 (wifi); ip is the host ip addr. 994001 gtalk_heartbeat_reset (interval_and_nt|1),(ip|3) 100 101# dvm_gc_info: LIST (LONG, LONG, LONG) 102# 103# First LONG: 104# 105# [63] 1 106# [62-24] ASCII process identifier 107# [23-12] GC time in ms 108# [11- 0] Bytes freed 109# 110# Second LONG (aggregated heap info): 111# 112# [63-62] 10 113# [61-60] Reserved; must be zero 114# [59-48] Objects freed 115# [47-36] Actual size (current footprint) 116# [35-24] Allowed size (current hard max) 117# [23-12] Objects allocated 118# [11- 0] Bytes allocated 119# 120# Third LONG (zygote heap info): 121# 122# [63-62] 11 123# [61-60] Reserved; must be zero 124# [59-48] Soft limit 125# [47-36] Actual size (current footprint) 126# [35-24] Allowed size (current hard max) 127# [23-12] Objects allocated 128# [11- 0] Bytes allocated 129# 130# Fourth LONG: 131# 132# [63-48] Reserved; must be zero 133# [47-36] dlmallocFootprint 134# [35-24] mallinfo: total allocated space 135# [23-12] External byte limit 136# [11- 0] External bytes allocated 137# 138# See HeapDebug.c 139# 14020001 dvm_gc_info (custom|2),(custom|2),(custom|2),(custom|2) 14120002 dvm_gc_madvise_info (total|1|2),(zygote|1|2) 142 143# Do not change these names without updating the checkin_events setting in 144# google3/googledata/wireless/android/provisioning/gservices.config !! 145# 146# An activity is being finished: 14730001 am_finish_activity (Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3) 148# A task is being brought to the front of the screen: 14930002 am_task_to_front (Task|1|5) 150# An existing activity is being given a new intent: 15130003 am_new_intent (Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5) 152# A new task is being created: 15330004 am_create_task (Task ID|1|5) 154# A new activity is being created in an existing task: 15530005 am_create_activity (Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5) 156# An activity has been resumed into the foreground but was not already running: 15730006 am_restart_activity (Token|1|5),(Task ID|1|5),(Component Name|3) 158# An activity has been resumed and is now in the foreground: 15930007 am_resume_activity (Token|1|5),(Task ID|1|5),(Component Name|3) 160# Application Not Responding 16130008 anr (pid|1|5),(Package Name|3),(reason|3) 162# Activity launch time 16330009 activity_launch_time (Token|1|5),(Component Name|3),(time|2|3) 164# Application process bound to work 16530010 am_proc_bound (PID|1|5),(Process Name|3) 166# Application process died 16730011 am_proc_died (PID|1|5),(Process Name|3) 168# The Activity Manager failed to pause the given activity. 16930012 am_failed_to_pause (Token|1|5),(Wanting to pause|3),(Currently pausing|3) 170# Attempting to pause the current activity 17130013 am_pause_activity (Token|1|5),(Component Name|3) 172# Application process has been started 17330014 am_proc_start (PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3) 174# An application process has been marked as bad 17530015 am_proc_bad (UID|1|5),(Process Name|3) 176# An application process that was bad is now marked as good 17730016 am_proc_good (UID|1|5),(Process Name|3) 178# Reporting to applications that memory is low 17930017 am_low_memory (Num Processes|1|1) 180# An activity is being destroyed: 18130018 am_destroy_activity (Token|1|5),(Task ID|1|5),(Component Name|3) 182# An activity has been relaunched, resumed, and is now in the foreground: 18330019 am_relaunch_resume_activity (Token|1|5),(Task ID|1|5),(Component Name|3) 184# An activity has been relaunched: 18530020 am_relaunch_activity (Token|1|5),(Task ID|1|5),(Component Name|3) 186# The activity's onPause has been called. 18730021 am_on_paused_called (Component Name|3) 188# The activity's onResume has been called. 18930022 am_on_resume_called (Component Name|3) 190# Kill a process to reclaim memory. 19130023 am_kill_for_memory (PID|1|5),(Process Name|3),(OomAdj|1|5) 192# Discard an undelivered serialized broadcast (timeout/ANR/crash) 19330024 am_broadcast_discard_filter (Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5) 19430025 am_broadcast_discard_app (Broadcast|1|5),(Action|3),(Receiver Number|1|1),(App|3) 195# A service is being created 19630030 am_create_service (Service Record|1|5),(Name|3),(Intent|3),(PID|1|5) 197# A service is being destroyed 19830031 am_destroy_service (Service Record|1|5),(Name|3),(PID|1|5) 199# A process has crashed too many times, it is being cleared 20030032 am_process_crashed_too_much (Name|3),(PID|1|5) 201# An unknown process is trying to attach to the activity manager 20230033 am_drop_process (PID|1|5) 203# A service has crashed too many times, it is being stopped 20430034 am_service_crashed_too_much (Crash Count|1|1),(Component Name|3),(PID|1|5) 205# A service is going to be restarted after its process went away 20630035 am_schedule_service_restart (Component Name|3),(Time|2|3) 207# A client was waiting for a content provider, but its process was lost 20830036 am_provider_lost_process (Package Name|3),(UID|1|5),(Name|3) 209# The activity manager gave up on a new process taking too long to start 21030037 am_process_start_timeout (PID|1|5),(UID|1|5),(Process Name|3) 211 21275000 sqlite_mem_alarm_current (current|1|2) 21375001 sqlite_mem_alarm_max (max|1|2) 21475002 sqlite_mem_alarm_alloc_attempt (attempts|1|4) 21575003 sqlite_mem_released (Memory released|1|2) 21675004 sqlite_db_corrupt (Database file corrupt|3) 217 21840000 checkin (Check in time|2|3) 219 22050000 menu_item_selected (Menu type where 0 is options and 1 is context|1|5),(Menu item title|3) 22150001 menu_opened (Menu type where 0 is options and 1 is context|1|5) 222 223# Wi-Fi network state changed: 224# [31- 6] Reserved for future use 225# [ 5- 0] Detailed state ordinal (as defined by NetworkInfo.DetailedState) 22650021 wifi_network_state_changed (network_state|1|5) 227 228# Wi-Fi supplicant state changed: 229# [31- 6] Reserved for future use 230# [ 5- 0] Supplicant state ordinal (as defined by SupplicantState) 23150022 wifi_supplicant_state_changed (supplicant_state|1|5) 232 233# Wi-Fi driver state changed: 234# [31- 1] Reserved for future use 235# [ 0- 0] Driver start (1) or stopped (0) 23650023 wifi_driver_state_changed (driver_state|1|5) 237 238# Wi-Fi interface configuration state changed: 239# [31- 1] Reserved for future use 240# [ 0- 0] Interface configuration succeeded (1) or failed (0) 24150024 wifi_interface_configuration_state_changed (IP_configuration|1|5) 242 243# Wi-Fi supplicant connection state changed: 244# [31- 2] Reserved for future use 245# [ 1- 0] Connected to supplicant (1) or disconnected from supplicant (0), 246# or supplicant died (2) 24750025 wifi_supplicant_connection_state_changed (connected|1|5) 248 249# PDP Context has a bad DNS address 25050100 pdp_bad_dns_address (dns_address|3) 251 252# For data connection on PDP context, reached the data-out-without-data-in 253# packet count that triggers a countdown to radio restart 25450101 pdp_radio_reset_countdown_triggered (out_packet_count|1|1) 255 256# Radio restart - timed out with no incoming packets. 25750102 pdp_radio_reset (out_packet_count|1|1) 258 259# PDP context reset - timed out with no incoming packets. 26050103 pdp_context_reset (out_packet_count|1|1) 261 262# Reregister to data network - timed out with no incoming packets. 26350104 pdp_reregister_network (out_packet_count|1|1) 264 265# PDP Setup failures 26650105 pdp_setup_fail (cause|1|5), (cid|1|5), (network_type|1|5) 267 268# Call drops 26950106 call_drop (cause|1|5), (cid|1|5), (network_type|1|5) 270 271# Data network registration failed after successful voice registration 27250107 data_network_registration_fail (op_numeric|1|5), (cid|1|5) 273 274# Suspicious status of data connection while radio poweroff 27550108 data_network_status_on_radio_off (dc_state|3), (enable|1|5) 276 277# PDP drop caused by network 27850109 pdp_network_drop (cid|1|5), (network_type|1|5) 279 280# CDMA data network setup failure 28150110 cdma_data_setup_failed (cause|1|5), (cid|1|5), (network_type|1|5) 282 283# CDMA data network drop 28450111 cdma_data_drop (cid|1|5), (network_type|1|5) 285 286# Do not change these names without updating tag in: 287#//device/dalvik/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.c 28851000 socket_stats (send|1|2),(recv|1|2),(ip|1|5),(port|1|5),(close|1|5) 289 290# Database operation samples. 291# db: the filename of the database 292# sql: the executed query (without query args) 293# time: cpu time millis (not wall time), including lock acquisition 294# blocking_package: if this is on a main thread, the package name, otherwise "" 295# sample_percent: the percent likelihood this query was logged 29652000 db_operation (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 297 298# http request/response stats 29952001 http_stats (useragent|3),(response|2|3),(processing|2|3),(tx|1|2),(rx|1|2) 30060000 viewroot_draw (Draw time|1|3) 30160001 viewroot_layout (Layout time|1|3) 30260002 view_build_drawing_cache (View created drawing cache|1|5) 30360003 view_use_drawing_cache (View drawn using bitmap cache|1|5) 304 305# 0 for screen off, 1 for screen on, 2 for key-guard done 30670000 screen_toggled (screen_state|1|5) 307 308# browser stats for diary study 30970101 browser_zoom_level_change (start level|1|5),(end level|1|5),(time|2|3) 31070102 browser_double_tap_duration (duration|1|3),(time|2|3) 311 312# aggregation service 31370200 aggregation (aggregation time|2|3) 31470201 aggregation_test (field1|1|2),(field2|1|2),(field3|1|2),(field4|1|2),(field5|1|2) 315 316# NOTE - the range 1000000-2000000 is reserved for partners and others who 317# want to define their own log tags without conflicting with the core platform. 318