History log of /frameworks/native/cmds/dumpstate/dumpstate.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aaaa57bf8904ef383a9e766ace09725bc392aceb 26-Mar-2013 Jeff Sharkey <jsharkey@android.com> Bugreport broadcasts are only useful to owners.

Bug: 8415156
Change-Id: Ia73969262abe9f715f038dad934651d7e5d65c87
/frameworks/native/cmds/dumpstate/dumpstate.c
5a93003d3f0d1808b6dcd9928041ec62ea7f67ad 19-Mar-2013 Jeff Sharkey <jsharkey@android.com> Move screenshots near beginning of dumpstate.

Bug: 8420215
Change-Id: I6adffd1182ed8f99b8d11d43785a4eb4a388ceb5
/frameworks/native/cmds/dumpstate/dumpstate.c
7560443061846fe0be5b658a7904786892007034 14-Mar-2013 Jeff Sharkey <jsharkey@android.com> Increase screenshot timeout.

Devices with large displays take longer than 5 seconds to write.

Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
/frameworks/native/cmds/dumpstate/dumpstate.c
27f9e6d849fce956c9b8f1ad5c3d9a954501a76b 13-Mar-2013 Jeff Sharkey <jsharkey@android.com> Support broadcast when dumpstate finishes.

Add flag that sends BUGREPORT_FINISHED broadcast when dumpstate
is finished, including the resulting filesystem paths. Also reduces
directory creation to 0770.

Bug: 7005318
Change-Id: Id4c6b699a56f8acd859b7ab73368500e1a8f3c67
/frameworks/native/cmds/dumpstate/dumpstate.c
98ca63e6d15e47a9b62971f0db6424c13c226019 01-Mar-2013 Nick Kralevich <nnk@google.com> am 22641851: Merge "dumpstate: use correct header file."

* commit '22641851c48fee6e79d01adcfab01c0b625cfb3c':
dumpstate: use correct header file.
e96b2d0037857646dbf50968fbf4b2973a07f1c9 01-Mar-2013 Nick Kralevich <nnk@google.com> dumpstate: use correct header file.

Change-Id: I006d7a219ce6309259f271beff6011cc266f1a61
/frameworks/native/cmds/dumpstate/dumpstate.c
5b8176471c0704651ceb22608c74d03877513ec0 22-Feb-2013 Dmitry Shmidt <dimitrysh@google.com> Remove obsolte 'su' from 'ping' call (to work on user build)

Change-Id: I2d391bbd39fc591eef33b9c9e4b4cdbda29e41e7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/native/cmds/dumpstate/dumpstate.c
8f75fa7bcfec553eddb59b919b44d7a93c9846a1 09-Feb-2013 Ken Sumrall <ksumrall@android.com> Do not use su to run the df command in bugreports

User builds do not have su, so when the bugreport attempts to report
disk free space, the command fails and nothing is reported. However,
the df command does not need to be run as root to report free space,
so just run the command directly.

Change-Id: Ic7deb696f293e772ddf28eacfe16e4250af9a9f3
/frameworks/native/cmds/dumpstate/dumpstate.c
258fe7eac91689866fc5f6420bea56432799743e 09-Nov-2012 Dmitry Shmidt <dimitrysh@google.com> am 77622879: am 4bacaec4: am 0b2c9268: bugreport: Add /proc/interrupts dump

* commit '77622879a6a12c6cb916df46c919dde87656e6df':
bugreport: Add /proc/interrupts dump
03d0600ea7aa31dc1be245f787084bb151403cf4 09-Nov-2012 Dmitry Shmidt <dimitrysh@google.com> am af9e8a59: am 61db92e7: am c11f56e5: bugreport: Add wlan FW counters dump for bcmdhd

* commit 'af9e8a59619ec6050739dd68ea108cc7e182d059':
bugreport: Add wlan FW counters dump for bcmdhd
0b2c9268265e9a165551eaa66cb461d3fab8b564 07-Nov-2012 Dmitry Shmidt <dimitrysh@google.com> bugreport: Add /proc/interrupts dump

Bug: 7301178

Change-Id: Ifad3b981ac904d4637d69dfc223d5bb2c9d80bda
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/native/cmds/dumpstate/dumpstate.c
c11f56e5615c5d388c072705322df5bcf22c2012 07-Nov-2012 Dmitry Shmidt <dimitrysh@google.com> bugreport: Add wlan FW counters dump for bcmdhd

Bug: 7494877

Change-Id: I4d24dbcf7596777ec02ab1312c2ab996ba7688f1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/native/cmds/dumpstate/dumpstate.c
0c22e8b31651caf12a2b4d4acef5bc65d486e570 02-Nov-2012 Colin Cross <ccross@android.com> dumpstate: dump all threads in show_wchan

for_each_pid only finds processes and not their threads. Add
for_each_tid and call it for show_wchan so we can see where all
threads are blocked in the kernel.

Change-Id: Iffb59f7c2933cecf51cdd358a36e19932c2f24c7
/frameworks/native/cmds/dumpstate/dumpstate.c
2281af967dd840aade7bc55b19ea7df0e6da36f2 29-Oct-2012 Colin Cross <ccross@android.com> dumpstate: add kernel memory fragmentation unusable index

Dump /d/extfrag/unusable_index in bugreports. It shows the
percentage of memory in each zone that is not available for
allocations for each order.

Change-Id: I2af6680cb609887ea7b3d6107d1aa88bd0206b52
/frameworks/native/cmds/dumpstate/dumpstate.c
719b8aa1c5c2c2e5675f92442f3da8509b297775 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Include Global table in bugreports.

Bug: 7257648
Change-Id: I84c7230fd115cf9d7269bc5367026b52cbcc86ac
/frameworks/native/cmds/dumpstate/dumpstate.c
86ca50d860fa256f5553ac7b313ba5ff0f120ef0 17-Sep-2012 jp abgrall <jpa@google.com> am e917bfbd: am 09a22fc2: Merge "Allow disable of dumpstate vibrate"

* commit 'e917bfbd19c265ef09c90f93f5dc175fc62259f5':
Allow disable of dumpstate vibrate
1f794c442cc63f7962c21e8e712adeca338af63e 17-Sep-2012 John Michelau <w14107@motorola.com> Allow disable of dumpstate vibrate

Change-Id: I747b757f4b5e2d6a472b7b2a19f8c1ca8a4b7fdd
/frameworks/native/cmds/dumpstate/dumpstate.c
85aea748861b5665e68b786b55f1c798f56fc0da 09-Aug-2012 Mathias Agopian <mathias@google.com> add /d/sync to dumpstate

Change-Id: I24f8f3e0420c2198ae3981fc067fb660898655e8
/frameworks/native/cmds/dumpstate/dumpstate.c
04d7eaf138678ef591076ff02b896f93394bcfaf 09-Jun-2012 Jeff Brown <jeffbrown@google.com> am 4f0dfaa7: am 9be7caf3: Merge "Include stack traces for certain native processes in bugreport." into jb-dev

* commit '4f0dfaa7c338870eb58d96fe40234505734db728':
Include stack traces for certain native processes in bugreport.
bf7f49238d0af497d4300f7e611cf831854d6434 08-Jun-2012 Jeff Brown <jeffbrown@google.com> Include stack traces for certain native processes in bugreport.

Bug: 6615693
Change-Id: I64c3b3ce0bba62d9c332a795f7d979fb753dc27b
/frameworks/native/cmds/dumpstate/dumpstate.c
1e339878c128ef47271278779c2685a8dfa49cd1 25-Apr-2012 Nick Kralevich <nnk@google.com> dumpstate: handle old style "adb bugreport"

When "adb bugreport" was run on previous adb releases, it
called "adb shell dumpstate". In later versions of Android,
this was changed to "adb shell bugreport", which starts
the dumpstate service.

Modify the dumpstate command so that it calls bugreport
when it's not running as root. This allows both
"adb shell dumpstate" and "adb shell bugreport" to have
the exact same output.

Bug: 6391938
Change-Id: Ia32bb9ebc579db3bee7caa0fe66dc3f124d60a12
/frameworks/native/cmds/dumpstate/dumpstate.c
29e27a84c144fe3b941648094cad2a3f1e61e8b3 23-May-2012 Todd Poynor <toddpoynor@google.com> dumpstate: Add kernel wakeup sources info

Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
/frameworks/native/cmds/dumpstate/dumpstate.c
13461c2ffe1c77a0c11a922ba41b0922791a7874 17-May-2012 Jeff Sharkey <jsharkey@android.com> Dump packages.xml as root.

Bug: 6501151
Change-Id: Ied638bdbe9ed6fbf749a44de8ac1f9d4167829c1
/frameworks/native/cmds/dumpstate/dumpstate.c
012c2ea5651a56218a4359c78db26dd700d9930b 17-May-2012 JP Abgrall <jpa@google.com> dumpstate: collect xtables based iface stats, update iptables info.

The newer kernels now have /proc/net/xt_qtaguid/iface_stat_fmt.
Add the extra iptables output and remove ip6tables for nat which doesn't
exist.

Change-Id: I819c707b337a707ca0acd87d9ab38cd68ca0f36c
/frameworks/native/cmds/dumpstate/dumpstate.c
3e03d3fb6a4cb93f5f978f9d2eed7b7cc62a06a6 11-May-2012 JP Abgrall <jpa@google.com> Ignore SIGPIPE is some of the tools used via bugreport

adb bugreport > b & sleep 5; kill $?
will show that a bunch of tools will SIGPIPE when trying to output data
which is normal.
We don't have a way on linux (bsd yes), to set NOSIGPIPE on the file desc
passed down via fork/exec.

Bug: 6447319
Change-Id: I25b30a823addcff89d252f162d0a07035d4fdd3f
/frameworks/native/cmds/dumpstate/dumpstate.c
4287cb4595d72066bc2d3cd1e2ac59cde254c707 11-Apr-2012 Jeff Sharkey <jsharkey@android.com> Add sdcard_r group to dumpstate.

Bug: 6321962
Change-Id: I318cd88493396f3d8adb5d4d0fc7a12ee40ba737
/frameworks/native/cmds/dumpstate/dumpstate.c
f45fa6b2853cc32385375a0b63ee39ad6a968869 26-Mar-2012 Colin Cross <ccross@android.com> move dumpstate and dumpsys from frameworks/base to frameworks/native

Change-Id: I8a5318022ce5cd3e7c8055f21fe5da74639aa6c0
/frameworks/native/cmds/dumpstate/dumpstate.c