summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-01-03 14:03:06 -0800
committerChristopher Tate <ctate@google.com>2012-01-03 16:50:50 -0800
commit1df51c65eafa3e725d962d80b9bfd621bef351d5 (patch)
tree03564f8a599d8ec1600bf8ce279340dc86f92476
parenta17e100b7a192cae3935d2ae144fb1a1115a4ca7 (diff)
downloadframeworks_base-1df51c65eafa3e725d962d80b9bfd621bef351d5.zip
frameworks_base-1df51c65eafa3e725d962d80b9bfd621bef351d5.tar.gz
frameworks_base-1df51c65eafa3e725d962d80b9bfd621bef351d5.tar.bz2
Tweak docs on 'adb logcat'
* Add description of 'threadtime' output format * Remove description of highly-confusing and never-used 'thread' output format * Adjust language slightly Change-Id: I2dcc8b7e5e8c039659697e90d7a4b3746b9135e9
-rw-r--r--docs/html/guide/developing/debugging/debugging-log.jd13
-rw-r--r--docs/html/guide/developing/tools/adb.jd6
2 files changed, 10 insertions, 9 deletions
diff --git a/docs/html/guide/developing/debugging/debugging-log.jd b/docs/html/guide/developing/debugging/debugging-log.jd
index 295772d..b5b626e 100644
--- a/docs/html/guide/developing/debugging/debugging-log.jd
+++ b/docs/html/guide/developing/debugging/debugging-log.jd
@@ -221,19 +221,20 @@ export ANDROID_LOG_TAGS="ActivityManager:I MyApp:D *:S"
below.</p>
<ul>
- <li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default
- format).</li>
+ <li><code>brief</code> &mdash; Display priority/tag and PID of the process issuing the
+ message (the default format).</li>
<li><code>process</code> &mdash; Display PID only.</li>
<li><code>tag</code> &mdash; Display the priority/tag only.</li>
- <li><code>thread</code> &mdash; Display process:thread and priority/tag only.</li>
-
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the
- originating process.</li>
+ process issuing the message.</li>
+
+ <li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and
+ the PID and TID of the thread issuing the message.</li>
<li><code>long</code> &mdash; Display all metadata fields and separate messages with blank
lines.</li>
@@ -304,4 +305,4 @@ $ adb shell start
<p>
If you're developing a web application for Android, you can debug your JavaScript using the console JavaScript APIs,
which output messages to LogCat. For more information, see
- <a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p> \ No newline at end of file
+ <a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p>
diff --git a/docs/html/guide/developing/tools/adb.jd b/docs/html/guide/developing/tools/adb.jd
index d32cf66..50c7236 100644
--- a/docs/html/guide/developing/tools/adb.jd
+++ b/docs/html/guide/developing/tools/adb.jd
@@ -546,12 +546,12 @@ of each message, given as <code>&lt;priority&gt;/&lt;tag&gt;</code>. </p>
<p>Log messages contain a number of metadata fields, in addition to the tag and priority. You can modify the output format for messages so that they display a specific metadata field. To do so, you use the <code>-v</code> option and specify one of the supported output formats listed below. </p>
<ul>
- <li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default format).</li>
+ <li><code>brief</code> &mdash; Display priority/tag and the PID of process issuing the message (the default format).</li>
<li><code>process</code> &mdash; Display PID only.</li>
<li><code>tag</code> &mdash; Display the priority/tag only. </li>
- <li><code>thread</code> &mdash; Display process:thread and priority/tag only. </li>
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
- <li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the originating process.</li>
+ <li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the process issuing the message.</li>
+ <li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and the PID and TID of the thread issuing the message.</li>
<li><code>long</code> &mdash; Display all metadata fields and separate messages with a blank lines.</li>
</ul>