blob: 722974b62f59573425d0760a099c8518a4281310 [file] [log] [blame]
Doug Zongker2bec3d42009-12-04 12:52:44 -08001# See system/core/logcat/event.logtags for a description of the format of this file.
2
3option java_package com.android.server.am
4
52719 configuration_changed (config mask|1|5)
62721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)
7
8# ActivityManagerService.systemReady() starts:
93040 boot_progress_ams_ready (time|2|3)
10# ActivityManagerService calls enableScreenAfterBoot():
113050 boot_progress_enable_screen (time|2|3)
12
13# Do not change these names without updating the checkin_events setting in
14# google3/googledata/wireless/android/provisioning/gservices.config !!
15#
16# An activity is being finished:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07001730001 am_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080018# A task is being brought to the front of the screen:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07001930002 am_task_to_front (User|1|5),(Task|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080020# An existing activity is being given a new intent:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002130003 am_new_intent (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080022# A new task is being created:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002330004 am_create_task (User|1|5),(Task ID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080024# A new activity is being created in an existing task:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002530005 am_create_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080026# An activity has been resumed into the foreground but was not already running:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002730006 am_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080028# An activity has been resumed and is now in the foreground:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002930007 am_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080030# Application Not Responding
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003130008 am_anr (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080032# Activity launch time
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003330009 am_activity_launch_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080034# Application process bound to work
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003530010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080036# Application process died
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003730011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080038# The Activity Manager failed to pause the given activity.
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003930012 am_failed_to_pause (User|1|5),(Token|1|5),(Wanting to pause|3),(Currently pausing|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080040# Attempting to pause the current activity
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004130013 am_pause_activity (User|1|5),(Token|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080042# Application process has been started
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004330014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080044# An application process has been marked as bad
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004530015 am_proc_bad (User|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080046# An application process that was bad is now marked as good
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004730016 am_proc_good (User|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080048# Reporting to applications that memory is low
4930017 am_low_memory (Num Processes|1|1)
50# An activity is being destroyed:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005130018 am_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080052# An activity has been relaunched, resumed, and is now in the foreground:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005330019 am_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080054# An activity has been relaunched:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005530020 am_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080056# The activity's onPause has been called.
Wale Ogunwalecd7043e2016-02-27 17:37:46 -08005730021 am_on_paused_called (User|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080058# The activity's onResume has been called.
Wale Ogunwalecd7043e2016-02-27 17:37:46 -08005930022 am_on_resume_called (User|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080060# Kill a process to reclaim memory.
Dianne Hackbornb12e1352012-09-26 11:39:20 -07006130023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080062# Discard an undelivered serialized broadcast (timeout/ANR/crash)
Dianne Hackbornb12e1352012-09-26 11:39:20 -07006330024 am_broadcast_discard_filter (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5)
6430025 am_broadcast_discard_app (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(App|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080065# A service is being created
Dianne Hackborncf1171642013-07-12 17:26:02 -07006630030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080067# A service is being destroyed
Jeff Sharkey9d6d8902012-11-09 17:32:43 -08006830031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080069# A process has crashed too many times, it is being cleared
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007030032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080071# An unknown process is trying to attach to the activity manager
7230033 am_drop_process (PID|1|5)
73# A service has crashed too many times, it is being stopped
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007430034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080075# A service is going to be restarted after its process went away
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007630035 am_schedule_service_restart (User|1|5),(Component Name|3),(Time|2|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080077# A client was waiting for a content provider, but its process was lost
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007830036 am_provider_lost_process (User|1|5),(Package Name|3),(UID|1|5),(Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080079# The activity manager gave up on a new process taking too long to start
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008030037 am_process_start_timeout (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080081
Dan Egnor60d87622009-12-16 16:32:58 -080082# Unhandled exception
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008330039 am_crash (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Exception|3),(Message|3),(File|3),(Line|1|5)
Dan Egnor60d87622009-12-16 16:32:58 -080084# Log.wtf() called
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008530040 am_wtf (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Tag|3),(Message|3)
Jeff Sharkey86597df2012-11-09 15:00:31 -080086
87# User switched
8830041 am_switch_user (id|1|5)
Dianne Hackborn2286cdc2013-07-01 19:10:06 -070089
90# Activity fully drawn time
9130042 am_activity_fully_drawn_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3)
Craig Mautnerde313752015-01-22 14:28:03 -080092
Chong Zhang6cda19c2016-06-14 19:07:56 -070093# Activity set to resumed
9430043 am_set_resumed_activity (User|1|5),(Component Name|3),(Reason|3)
Craig Mautnerde313752015-01-22 14:28:03 -080095
Wale Ogunwale925d0d12015-09-23 15:40:07 -070096# Stack focus
9730044 am_focused_stack (User|1|5),(Focused Stack Id|1|5),(Last Focused Stack Id|1|5),(Reason|3)
Dianne Hackborna92cbad2015-01-29 17:22:25 -080098
99# Running pre boot receiver
10030045 am_pre_boot (User|1|5),(Package|3)
Dianne Hackborn1a5da042015-01-23 17:29:16 -0800101
102# Report collection of global memory state
Thierry Strudelf0a44182016-01-07 18:08:04 -080010330046 am_meminfo (Cached|2|2),(Free|2|2),(Zram|2|2),(Kernel|2|2),(Native|2|2)
Dianne Hackborn1a5da042015-01-23 17:29:16 -0800104# Report collection of memory used by a process
Thierry Strudelf0a44182016-01-07 18:08:04 -080010530047 am_pss (Pid|1|5),(UID|1|5),(Process Name|3),(Pss|2|2),(Uss|2|2),(SwapPss|2|2)
Wale Ogunwalecd7043e2016-02-27 17:37:46 -0800106
107# Attempting to stop an activity
10830048 am_stop_activity (User|1|5),(Token|1|5),(Component Name|3)
109# The activity's onStop has been called.
11030049 am_on_stop_called (User|1|5),(Component Name|3),(Reason|3)
Joe Onorato1dbff802016-04-14 18:58:20 -0700111
112# Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
11330050 am_mem_factor (Current|1|5),(Previous|1|5)
114