ed9354fc846895dc53397fbb5323bef00b3a3834 |
|
02-Oct-2014 |
Christopher Ferris <cferris@google.com> |
Accept socket connection before tracing. Sometimes dumping threads takes a long time and bugreport times out. This change will cause us to accept the bugreport socket connection before dumping threads and should avoid the failed to connect to dumpstate service problems we've seen. Bug: 17758374 Change-Id: I80afa0353cf1c340873f481a8d1d7faffff54120
/frameworks/native/cmds/dumpstate/dumpstate.c
|
1dc94e315680b47fe430ef90f46c50a25c92fb6d |
|
11-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Make dumpstate vibrate immediately. Previously, the vibration was not performed until after stacks were gathered which takes a long time. Moved the vibration to happen earlier so we provide better user feedback for the three-button salute when collecting a bug report. Deleted some dead code for playing begin/end sounds. Improved the timing measurement code to help track down why bug reports are so slow. (They take over a minute now which can cause us to lose valuable diagnostic information.) Bug: 17474152 Change-Id: Iac73f7993d7dc85196aad96f459b22fd4a710f94
/frameworks/native/cmds/dumpstate/dumpstate.c
|
2e671bbdb741c2926b6df7b240fdc31c7361f330 |
|
21-Aug-2014 |
Andres Morales <anmorales@google.com> |
Fix deadlock when killing adb bugreport Leave default signal handler (terminate) for parent process, add SIG_IGN as signal handler for children and let them go down when the parent gets SIGPIPE. Bug: 17109154 Change-Id: Id33db3e97a32f289eb2a9a1a0ca8acbe3dcd285d
/frameworks/native/cmds/dumpstate/dumpstate.c
|
d4c3d38957870fa27423dbc55d99d68772fbd490 |
|
30-Jul-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Improve network connectivity dumping. 1. Explicitly dump IP addresses. Currently, some IP addresses are dumped using netcfg, but that only dumps the first IPv4 address on each interface. Instead, call ip -4 addr and ip -6 addr explicitly to dump all IPv4 and IPv6 addresses on the system. 2. Disable dumping /proc/net/{ipv6,}route, because: - We already dump all IPv4 and IPv6 routes in the tables that we use. - /proc/net/route is confusing because it only includes routes in the main table, which are all but unused. It's also in unreadable host-byte-order hex. - /proc/net/ipv6_route is confusing because it includes routes from all tables but does not say what table they are in. 3. Instead of dumping the contents of /proc/net/arp , use "ip -4 neigh show" and "ip -6 neigh show" to dump the neighbour caches for both IPv4 and IPv6. Bug: 16663736 Change-Id: Id3e509b877ab7b00eb2399b6a9868b12245da2f0
/frameworks/native/cmds/dumpstate/dumpstate.c
|
7dc7f3221f26b771c266a26ec785eb74287922f1 |
|
23-Jul-2014 |
Christopher Ferris <cferris@google.com> |
Add dumping of tombstones to dumpstate. Dump only those tombstones modified within the last half an hour. Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7
/frameworks/native/cmds/dumpstate/dumpstate.c
|
d2a049220a8299ab19a96d6dcc12b7034da28d28 |
|
19-Jul-2014 |
Elliott Hughes <enh@google.com> |
Always #include <sys/...>, not <linux/...>. (cherry picked from commit 1e4ee9afd2de12af98dbf476b73e2d43f605384c) Change-Id: Ie005774484f98bb33c8f867cddb778ac04a1d4ea
/frameworks/native/cmds/dumpstate/dumpstate.c
|
f3381cf1a645f857dccad9a4369ae23054e9d7d4 |
|
11-Jul-2014 |
Matthew Xie <mattx@google.com> |
dump bluedroid kernel status do not merge Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df (cherry picked from commit ed3b9a09771a79b62fd4a5943d3845e7ceee6a34)
/frameworks/native/cmds/dumpstate/dumpstate.c
|
c88da7cc21c61b9ac8fcac11aa812f647ffb181c |
|
09-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
resolved conflicts for merge of 928e05b1 to master Change-Id: I1d1e623a1f95baa4375a87242ce71ea789884649
|
928e05b12b21a846ac956e83d46635bbab592ea7 |
|
09-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
am 0d2bee0c: Merge "Dump all the correct routing tables." * commit '0d2bee0c0baec56ec98867d7e044602097525248': Dump all the correct routing tables.
|
2b3bba34aec65b612be8d1f52cd124d9c30955f9 |
|
09-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Dump all the correct routing tables. The list of tables is maintained in /data/misc/net/rt_tables by netd. Change-Id: I55475c08c5e43bcf61af916210e680c47480ac32
/frameworks/native/cmds/dumpstate/dumpstate.c
|
5ecd4beef8f10f91febf916414c65d3d0e1cf734 |
|
29-Jan-2014 |
John Spurlock <jspurlock@google.com> |
Dump system settings for all users Change-Id: Ic832b19fe698da1984876b2949c3f26990ae5076
/frameworks/native/cmds/dumpstate/dumpstate.c
|
2a83daa8a3e1eab292dc1464bbe78f025f4bc0e9 |
|
23-Nov-2013 |
Todd Poynor <toddpoynor@google.com> |
dumpstate: dump console-ramoops instead of last_kmsg if present Change-Id: I41a922b33f0b6b4e8e150a92e46032501a165e33
/frameworks/native/cmds/dumpstate/dumpstate.c
|
59b1516f4cefcfd599f4e5e9c4a227a48d1ace65 |
|
05-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #10422349: Limit/change the battery history data in batterystats Use new compact option to include history when dumping battery stats. Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
/frameworks/native/cmds/dumpstate/dumpstate.c
|
1d6b97c869718001010cce3db387c73fd11bf32e |
|
21-Aug-2013 |
Dmitry Shmidt <dimitrysh@google.com> |
dumpstate: Fix wifi list of networks dump Bug: 9056601 Change-Id: Ia0adb67afdf3d478033d0ee34bbb95e621e2fe51 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/native/cmds/dumpstate/dumpstate.c
|
4f5b9a701b3d480ae4437ec60062ecb6c94446ee |
|
14-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
dumpstate: switch to HAL static libraries Change-Id: I865a0b4b4a84a2d54a239e7b09874287f0c1ad56
/frameworks/native/cmds/dumpstate/dumpstate.c
|
656a6b9e3645bfe2cf073b69cbb9d02832f62c26 |
|
23-Jul-2013 |
Alex Ray <aray@google.com> |
dumpstate: remove libutils dependency Change-Id: I9745f389402c01b90877612e060ac996eba99964
/frameworks/native/cmds/dumpstate/dumpstate.c
|
76b45c126be0208f6f8e8f3025b0aa8a26d3fc3a |
|
15-Jul-2013 |
Nick Kralevich <nnk@google.com> |
dumpstate: Show SELinux process labels Change-Id: Ie19586a3b733bd4420f6b20b5d253d42c2f165ea
/frameworks/native/cmds/dumpstate/dumpstate.c
|
1bd5068a5180ac12dda374e15c7b1f70e8334284 |
|
11-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix cmd line arguments for usagestats. Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814
/frameworks/native/cmds/dumpstate/dumpstate.c
|
5cd46aa3399ddeaf12a211390dfde66c796ab299 |
|
10-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Update to follow procstats options changes. Change-Id: I6f016c944cfcd01bbbcf3cf37bc7ff05482f0012
/frameworks/native/cmds/dumpstate/dumpstate.c
|
3e5fa73722c100fc9017c7a47b17a8e727aa34e1 |
|
04-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Update to use --include-committed for procstats. Change-Id: I5ce737b624c5617c94054d6bedebca754fbf16a9
/frameworks/native/cmds/dumpstate/dumpstate.c
|
02bea9786d2ecc4c04f35fd7d9b73d4dd2b73735 |
|
27-Jun-2013 |
Dianne Hackborn <hackbod@google.com> |
Add checkin dumps to bug reports. This is a duplicate of the associated human-readable dumps of these services, but much better for automated parsing. Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c
/frameworks/native/cmds/dumpstate/dumpstate.c
|
4b2b0a7494c872b7d545a9abe2d08ca0d0325073 |
|
29-May-2013 |
jp abgrall <jpa@google.com> |
am 74bd799e: Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes" * commit '74bd799ec20d2420459fa382533b1cc39ca9a54c': Exit dumpstate on SIGPIPE to avoid cascading child crashes
|
885f888c55587e9366542b5155a06c321cde175a |
|
06-May-2013 |
John Michelau <w14107@motorola.com> |
Exit dumpstate on SIGPIPE to avoid cascading child crashes When dumpstate ignores SIGPIPE it can lead to a cascade of tombstones / coredumps since many of its children don't handle or ignore it. It's best to just exit dumpstate once the pipe is broken. Change-Id: Ic0c57ecf4171f0c0a07837e51c41cb1876e1350c
/frameworks/native/cmds/dumpstate/dumpstate.c
|
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
|