Mark Salyzyn
99f47a9e7c
logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH
...
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
2014-04-16 15:38:50 -07:00
Mark Salyzyn
bbbe14f758
logcat: Better help message for white and black list
...
Change-Id: Ia739260b4e0fcf8062ad9166fd65b1d6e7bb446c
2014-04-11 13:49:43 -07:00
Mark Salyzyn
1c95047939
logd: liblog: logcat: enable prune features for user
...
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
2014-04-02 13:12:04 -07:00
Mark Salyzyn
ef7c411ac3
logcat: test arbitrary time to tail
...
- Add tail_time
- Use EXPECT instead of ASSERT to provide more coverage
- Use EXPECT_TRUE/ASSERT_TRUE when comparing NULL
- Itemize order complaints in sorted_order test
Change-Id: I55a7543fa3300c0a9524fac70111e680c2877eea
2014-03-26 10:52:21 -07:00
Mark Salyzyn
5fef7b6e31
logcat: timed tests fail under load
...
Change-Id: Ic1cdf0509617720eef7a3ad0b17a3b6f88c9d87e
2014-03-24 13:19:17 -07:00
Mark Salyzyn
22e287df0d
logcat: white and blacklist failure
...
- logcat improperly squashes out count
- logcat test enhanced to catch failure
- logd places entries in ascending sorted order
Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
2014-03-21 15:43:31 -07:00
Mark Salyzyn
fff04e3014
logcat: improve error messages
...
Bug: 13464830
Change-Id: Ia8783fa2422e444bcdfca8d0153cf6e7634612bb
2014-03-18 09:43:03 -07:00
Mark Salyzyn
95cfc7b8e2
logcat: test White Black list
...
Change-Id: Ia9509ad09dd86e4d9169ed7d0b33911f1ca9eec6
2014-03-14 10:24:42 -07:00
Mark Salyzyn
fa3716b250
logd: liblog: logcat: Arbitrary time to tail
...
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
2014-03-14 10:23:51 -07:00
Mark Salyzyn
dfa7a07f5b
logd: liblog: logcat: Add LogWhiteBlackList
...
- liblog android_logger_get_log_size and android_logger_get_readable_size
adjusted to return long instead of int because of -G flag extending range
NB: ifdef'd only for userdebug and eng builds
- liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size
- logcat Add -P, -p and -G flags
- logd Add LogWhiteBlackList and configurable log size
(cherry picked from commit 18a5432158
)
Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
2014-03-13 14:48:07 -07:00
Mark Salyzyn
34facab86b
logd: liblog: logcat: Add Statistics
...
- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all
(cherry picked from commit 51a29c8dc4
)
Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
2014-03-13 14:47:58 -07:00
Mark Salyzyn
9b986497e7
logcat: test: add clear and blocking check
...
(cherry picked from commit 1beb2ab6f6
)
Change-Id: I243b1338c4a5935a297a0519c03697fd828e47e6
2014-02-26 09:52:02 -08:00
Mark Salyzyn
5d3d1f17db
logcat: Add -T flag (-t w/o assumption of -d)
...
(cherry picked from commit de02546e3d
)
Change-Id: I49763e2db83755e0b7b12dfa3f83a3957c54d389
2014-01-27 15:19:17 -08:00
Mark Salyzyn
65772ca7d7
logcat: Add logcat test suite
...
(cherry picked from commit 2807db9a26
)
Change-Id: Ic4c84b88b8d899965c9765bdc3ee223ef73ba7d1
2014-01-27 15:18:49 -08:00
Mark Salyzyn
95132e97e5
logcat: Incorporate liblog reading API
...
(cherry picked from commit a1062c728a
)
Change-Id: I1e1a55d13ac55350e8d54bfe92b392de07f26a5d
2014-01-27 15:11:46 -08:00
Elliott Hughes
ccecf14254
system/core 64-bit cleanup.
...
This cleans up most of the size-related problems in system/core.
There are still a few changes needed for a clean 64-bit build,
but they look like they might require changes to things like the
fastboot protocol.
Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
2014-01-16 12:54:18 -08:00
William Luh
5336758595
Add new cert_pin_failure tag that can be used in user-consent filtering.
...
Bug: 10912373
Change-Id: If8a2f9829b3aac4abc33a4623c5f5b4966fd6870
2013-09-25 22:20:23 +00:00
Colin Cross
9227bd3855
Move liblog headers to system/core/include/log
...
Move the liblog headers to log/ instead of cutils/ to complete
the separation of libcutils and liblog. cutils/log.h still
exists and includes log/log.h in order to support the many existing
modules that use cutils/log.h.
Change-Id: I2758c9f4aedcb809ca7ba8383d0f55041dd44345
2013-07-24 12:32:39 -07:00
Mathias Agopian
32a9d696c4
remove unused SF event log tags
...
Change-Id: I1271875c575aac31568017a17622f4dc9ff40032
2013-06-04 18:47:31 -07:00
Geremy Condra
d832567908
Add event log tag for cert pin failures.
...
Change-Id: Ib93f4eeec35b5754498464ada94faeb2bdb0b896
2012-09-11 21:38:31 -07:00
Stephen Hines
2a1067d144
am 753b96cf
: am dd56039c
: Merge "Fixed an unused param warning in logcat"
...
* commit '753b96cf67f3eaf716510600516c3c593a1ae5e1':
Fixed an unused param warning in logcat
2012-08-13 16:03:19 -07:00
Edwin Vane
80b221cb22
Fixed an unused param warning in logcat
...
Changed a function to actually use its parameter instead of a global
variable. All callers of the function pass the global variable as an
argument anyway so behaviour is unchanged.
Change-Id: Ib84d45c17d2213c4d441bf2f423feca14e7aa2f4
Author: Edwin Vane <edwin.vane@intel.com>
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
2012-08-13 12:59:36 -04:00
Geremy Condra
e2c01bc7b9
Added logtags for errors in bionic.
...
Specifically, this adds tags for errors in FORTIFY_SOURCE'd parts
of bionic and for some indications of DNS spoofing.
Change-Id: I186ee36ae42cb6ba4fd5729ede84e2dcd4a56468
2012-06-11 12:22:37 -07:00
Nick Kralevich
274c31ab6b
fix "logcat -c ; logcat -d" hang.
...
Change-Id: I1dc3633fc7228a6ff8ed0da4572f40055a28ceb2
2012-02-23 14:48:51 -08:00
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