Commit Graph

52 Commits

Author SHA1 Message Date
Nick Kralevich 46070505e7 logcat: add sanity check
Sanity check that the length we get back from the kernel matches
how much data we actually received.

Change-Id: I5cfd80321ab41459bb514dfde2da57413a7bd9e6
2011-10-17 11:40:06 -07:00
Kenny Root 4bf3c02e02 Add checking for log entry format
The log tag may be zero length if corrupted, so check for this
condition.

Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84
2011-10-03 14:14:41 -07:00
Carl Shapiro dfe3b60258 Remove two unused event log tags.
Change-Id: I4be6e142ecdb3caebde21bef9898fc9e25fe181a
2011-01-19 17:29:54 -08:00
Mathias Agopian 1f7bc6d1a9 am 06b21887: am 2da0032c: add graphics events to the eventlog definitions
Merge commit '06b21887e8f5719e9b421371b4a47ef371c972b5'

* commit '06b21887e8f5719e9b421371b4a47ef371c972b5':
  add graphics events to the eventlog definitions
2010-09-15 12:19:33 -07:00
Brad Fitzpatrick 9a5c61a277 am 2c42e440: am 9915e3fd: Add dvm_lock_sample\'s new fields.
Merge commit '2c42e4404bba0a1b065d223a1e84ef7184e1a987'

* commit '2c42e4404bba0a1b065d223a1e84ef7184e1a987':
  Add dvm_lock_sample's new fields.
2010-09-15 12:17:19 -07:00
Mathias Agopian 2da0032c94 add graphics events to the eventlog definitions
by default this logging is turned off

Change-Id: Ic7e5fe2b377c4760e1673e7d19a69d34cc9333c9
2010-09-14 15:11:07 -07:00
Brad Fitzpatrick 9915e3fd38 Add dvm_lock_sample's new fields.
Change-Id: I2ec442834c38d3716695ab90bf0db220bd8dae27
2010-09-14 13:12:11 -07:00
Irfan Sheriff efc69582fe Update eventlog tags for WifiStateTracker
Change-Id: I43137ba87df7ec30f068997c86957e6bda14aaeb
2010-07-23 15:58:58 -07:00
Wink Saville ba9608ff63 Update the help text to reflect new capabilities of -b parameter.
The -b parameter now support specifying multiple ring buffers
and the results are interleaved. In addition a new ring buffer
has been created, 'system', and the default is now -b main -b system.

Change-Id: Ibc25a31fb8fe21d75dda4598a83cf3426f759eb1
2010-06-18 10:15:08 -07:00
Carl Shapiro f54e0a4be3 Add a log tag entry for the dalvik lock profiling event. 2010-04-13 02:30:27 -07:00
Carl Shapiro c24b4d8cc8 Add a log tag entry for the dalvik lock profiling event.
Change-Id: I4897da78ee6c6b32c8a588ff689c60a59bc60ed7
2010-04-12 16:33:28 -07:00
Brad Fitzpatrick 7c2be0426e Rename logtag for clarity.
BUG=2581935

Change-Id: Icf1c4fcf123fa4ec74fda80f72a27d3db85aa7a9
2010-04-08 13:24:42 -07:00
Mathias Agopian 50844525a3 fix [2483384] logcat crash when malloc debug is enabled
fix a couple of uninitialized variables

Change-Id: I1f7552ecb20d85dbf0fec5cae9778a70ff9281a2
2010-03-17 16:10:26 -07:00
Dan Egnor d1d3b6dbed Add '-t N' flag to logcat, to print only the last N lines of logcat
(to be used in capturing a merged mini logcat for crash reports)

Change-Id: I68149eb80f2f79812f43b07d80fbea822476859e
2010-03-11 20:32:17 -08:00
Dan Egnor 36cf32f6bd Remove an obsolete event log tag.
Change-Id: Idb718bdc88bca244eb88af5f391055cd40b42fd8
2010-03-10 13:06:28 -08:00
Joe Onorato e2bf2ea4d2 Make logcat print both the main and system buffers by default. Make SLOGx macros work. 2010-03-01 13:03:19 -08:00
Joe Onorato 6fa09a066d Allow logcat to take multiple -b options, and interleave the results. 2010-02-26 11:07:00 -08:00
Dan Egnor 9b0bf52944 Remove some log tags, which have moved to their own
EventLogTags.logtags file in various directories.
2010-02-10 21:19:45 -08:00
Wink Saville d89a501f8f resolved conflicts for merge of 988ad28e to master
Change-Id: I02dda00585d5eb4ea74ca7c77bd46f97bb562440
2010-01-21 12:08:07 -08:00
John Wang 904ac578d5 Add gsm_rat_switched event tag. 2010-01-13 18:28:15 -08:00
Doug Zongker dd75019da8 remove ActivityManager-related event log tags
These have been migrated to the ActivityManagerService package.
2009-12-04 16:47:40 -08:00
Doug Zongker a43d275391 remove system server tags from global event.logtags file
These tags are being moved to a .logtags file in the system server
package.
2009-12-04 10:43:41 -08:00
Doug Zongker da077ee77a construct event-log-tags via the new build mechanism
The build system now unions together all *.logtags files found in
LOCAL_SRC_FILES to construct /system/etc/event-log-tags.
2009-12-03 10:35:41 -08:00
Dan Egnor d3fe19fa14 Update db_operation log tag information to match updated sampling code. 2009-11-23 19:01:28 -08:00
Dianne Hackborn bace010782 Work on issue #2259506: camera ANRed and then device runtime restarted
New event log tag for when a process fails to start.

Change-Id: Icb08757e1514a1d6f5462d22b931114c10b964b2
2009-11-16 16:34:08 -08:00
Doug Zongker bbf4093e7a am 46ef2b87: add free space on system and cache to free_storage_left log event
Merge commit '46ef2b87d01a2df67074351d0078bf900550f343' into eclair

* commit '46ef2b87d01a2df67074351d0078bf900550f343':
  add free space on system and cache to free_storage_left log event
2009-10-07 18:16:50 -07:00
Doug Zongker 46ef2b87d0 add free space on system and cache to free_storage_left log event 2009-10-07 15:06:02 -07:00
Dan Egnor 04ea5b974d Add backup_initialize event to track initializeDevice() requests 2009-09-29 19:11:03 -07:00
Jeff Hamilton 9e42da45cf Add a new event log tag for corrupted database files.
Change-Id: I6b920de4e7c86257cb56a75e570c01a42fb2d082
2009-09-29 11:46:46 -07:00
Dan Egnor b92174db6d Add event parameter for the restore set (device id) data is being restored from 2009-09-22 10:42:52 -07:00
Christopher Tate 061b6de7b3 Add event log tag for server-prompted reset of backup data 2009-09-21 13:12:09 -07:00
Doug Zongker 6f9d1c2174 add account field to the sync log event 2009-09-20 15:48:22 -07:00
Ken Shirriff f602030b35 Add contacts aggregation event to the log. 2009-09-03 16:13:08 -07:00
Doug Zongker 6753c2bc23 am c5ceeeed: Merge change 20354 into donut
Merge commit 'c5ceeeedeeb1cc3ba3d8b54b04f983ae666755a2'

* commit 'c5ceeeedeeb1cc3ba3d8b54b04f983ae666755a2':
  strip comments from event-log-tags on device
2009-08-07 05:12:40 -07:00
Doug Zongker 0e5e7ef1fe strip comments from event-log-tags on device
This saves about 8k from the system image.

Bug: 2036961
2009-08-06 16:43:47 -07:00
Dan Egnor 894c5cd214 add log tags for backup/restore events 2009-07-27 15:13:00 -07:00
Jim Miller 04ac5881fa Add aggregator test tag to list 2009-07-01 18:29:33 -07:00
Wei Huang 9d0d888179 add kernel event logging tags for more gtalk/mcs logging (heartbeat resets and connection closed events) 2009-06-19 11:28:03 -07:00
The Android Open Source Project 38e264915c merged 2cf6cff71f w/minor conflict 2009-06-12 11:14:35 -07:00
Dan Egnor 2cf6cff71f Add a note to event-log-tags listing the log tag range
reserved for partner use, etc..
2009-06-11 15:28:59 -07:00
Jim Miller cae5f6aa21 Add tag for AggregationService. 2009-06-08 19:00:27 -07:00
Tammo Spalink 473b9b21ad new cdma event log tags 2009-05-19 15:26:18 +08:00
The Android Open Source Project e4749f30e5 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:15 -07:00
The Android Open Source Project dd7bc3319d auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
The Android Open Source Project e54eebbf1a auto import from //depot/cupcake/@135843 2009-03-03 18:29:04 -08:00
The Android Open Source Project a1e1c1b106 auto import from //depot/cupcake/@132589 2009-03-03 14:04:41 -08:00
The Android Open Source Project c2d26a164f auto import from //depot/cupcake/@137055 2009-03-02 22:54:47 -08:00
The Android Open Source Project 3e292b9716 auto import from //branches/cupcake/...@132569 2009-02-20 07:38:35 -08:00
The Android Open Source Project 1b8e5a6b14 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:54 -08:00
The Android Open Source Project 13f797da7f auto import from //branches/cupcake/...@130745 2009-02-10 15:44:07 -08:00