summaryrefslogtreecommitdiffstats
path: root/logcat
diff options
context:
space:
mode:
authorDan Egnor <egnor@google.com>2009-11-23 14:49:21 -0800
committerDan Egnor <egnor@google.com>2009-11-23 19:01:28 -0800
commitd3fe19fa14102bbd520365beb1a86778ffb8014c (patch)
tree93cf8703083797d1a9190799f9943b0f4e7565e7 /logcat
parenteb67fac4723892ac8ae3fae87c05e776c49029c5 (diff)
downloadsystem_core-d3fe19fa14102bbd520365beb1a86778ffb8014c.zip
system_core-d3fe19fa14102bbd520365beb1a86778ffb8014c.tar.gz
system_core-d3fe19fa14102bbd520365beb1a86778ffb8014c.tar.bz2
Update db_operation log tag information to match updated sampling code.
Diffstat (limited to 'logcat')
-rw-r--r--logcat/event-log-tags10
1 files changed, 7 insertions, 3 deletions
diff --git a/logcat/event-log-tags b/logcat/event-log-tags
index 1262f44..a51e2fa 100644
--- a/logcat/event-log-tags
+++ b/logcat/event-log-tags
@@ -375,9 +375,13 @@
#//device/dalvik/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.c
51000 socket_stats (send|1|2),(recv|1|2),(ip|1|5),(port|1|5),(close|1|5)
-# db stats. 0 is query, 1 is write (may become more fine grained in the
-# future)
-52000 db_operation (name|3),(op_type|1|5),(time|2|3)
+# Database operation samples.
+# db: the filename of the database
+# sql: the executed query (without query args)
+# time: cpu time millis (not wall time), including lock acquisition
+# blocking_package: if this is on a main thread, the package name, otherwise ""
+# sample_percent: the percent likelihood this query was logged
+52000 db_operation (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)
# http request/response stats
52001 http_stats (useragent|3),(response|2|3),(processing|2|3),(tx|1|2),(rx|1|2)