| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Bug: 9056601
Change-Id: Ia0adb67afdf3d478033d0ee34bbb95e621e2fe51
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
| |
Change-Id: I865a0b4b4a84a2d54a239e7b09874287f0c1ad56
|
|
|
|
| |
Change-Id: I9745f389402c01b90877612e060ac996eba99964
|
|
|
|
| |
Change-Id: Ie19586a3b733bd4420f6b20b5d253d42c2f165ea
|
|
|
|
| |
Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814
|
|
|
|
| |
Change-Id: I6f016c944cfcd01bbbcf3cf37bc7ff05482f0012
|
|
|
|
| |
Change-Id: I5ce737b624c5617c94054d6bedebca754fbf16a9
|
|
|
|
|
|
|
| |
This is a duplicate of the associated human-readable dumps
of these services, but much better for automated parsing.
Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c
|
|\
| |
| |
| |
| | |
* commit '74bd799ec20d2420459fa382533b1cc39ca9a54c':
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
|
|\ \
| | |
| | |
| | | |
Change-Id: I895a8ad8c936a80c70aaac739c6441d3c7c55834
|
| | |
| | |
| | |
| | |
| | | |
Bug: 8580410
Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* commit 'a3d3e137f473a965fefced9670e3b0c6b5f7f791':
dumpstate: Add SELinux restorecon call.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Set the security context on the directory used
to dump Dalvik and native stack traces.
Change-Id: Iba13783f10e850485ce1a8d4aa5792d55085eb22
Signed-off-by: Robert Craig <rpcraig@tycho.ncsc.mil>
|
| |
| |
| |
| |
| | |
Bug: 8415156
Change-Id: Ia73969262abe9f715f038dad934651d7e5d65c87
|
| |
| |
| |
| |
| | |
Bug: 8420215
Change-Id: I6adffd1182ed8f99b8d11d43785a4eb4a388ceb5
|
| |
| |
| |
| |
| |
| | |
Devices with large displays take longer than 5 seconds to write.
Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit 'ba8abb517d1eddebeda62bf907fa446e3c3b81f6':
Ensure dumpstate children die
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use prctl(PR_SET_PDEATHSIG, SIGKILL) in each forked child to ensure
it dies when dumpstate dies.
This is important for two cases:
- dumpstate runs a timer for each child process. On expiration, it
sends SIGTERM to kill the process. Sometimes SIGTERM isn't enough
to kill a hung process, so the child lives on.
- When dumpstate is killed by the user before completing, outstanding
children continue to run and generate output.
Change-Id: I96e0dc918c26d56c9fee53611980ba2edd238712
|
|\ \
| |/
| |
| |
| | |
* commit '22641851c48fee6e79d01adcfab01c0b625cfb3c':
dumpstate: use correct header file.
|
| |
| |
| |
| | |
Change-Id: I006d7a219ce6309259f271beff6011cc266f1a61
|
| |
| |
| |
| |
| | |
Change-Id: I2d391bbd39fc591eef33b9c9e4b4cdbda29e41e7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit '77622879a6a12c6cb916df46c919dde87656e6df':
bugreport: Add /proc/interrupts dump
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 7301178
Change-Id: Ifad3b981ac904d4637d69dfc223d5bb2c9d80bda
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
for bcmdhd
* commit 'af9e8a59619ec6050739dd68ea108cc7e182d059':
bugreport: Add wlan FW counters dump for bcmdhd
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 7494877
Change-Id: I4d24dbcf7596777ec02ab1312c2ab996ba7688f1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| | |
Change-Id: I55a916568baf66629b02a6d80fce34b84ffb3a34
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 7257648
Change-Id: I84c7230fd115cf9d7269bc5367026b52cbcc86ac
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I86e8c91c6f5628df3eec38faf28598cc8cef2ea3
|
|\ \
| |/
|/|
| |
| | |
* commit 'e917bfbd19c265ef09c90f93f5dc175fc62259f5':
Allow disable of dumpstate vibrate
|
| |
| |
| |
| | |
Change-Id: I747b757f4b5e2d6a472b7b2a19f8c1ca8a4b7fdd
|
| |
| |
| |
| |
| |
| |
| |
| | |
This would be helpful tracking down ANR issues in drmserver
o related-to-bug: 7132419
Change-Id: I7eceaa0c29af26bd0092110be6bddf8f4c063545
|
| |
| |
| |
| | |
Change-Id: I24f8f3e0420c2198ae3981fc067fb660898655e8
|
|\ \
| |/
| |
| |
| |
| |
| | |
processes in bugreport." into jb-dev
* commit '4f0dfaa7c338870eb58d96fe40234505734db728':
Include stack traces for certain native processes in bugreport.
|
| |
| |
| |
| |
| | |
Bug: 6615693
Change-Id: I64c3b3ce0bba62d9c332a795f7d979fb753dc27b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
|
|
|
|
|
| |
Bug: 6501151
Change-Id: Ied638bdbe9ed6fbf749a44de8ac1f9d4167829c1
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 6321962
Change-Id: I318cd88493396f3d8adb5d4d0fc7a12ee40ba737
|
|
|
|
|
|
|
|
| |
Make Android more robust against symlink attacks when /data/anr
is world-writable.
Bug: 5614000
Change-Id: I9a7e4c4ec9aa4300ac30a968db0dcd276f364ab6
|
|
|
|
|
|
|
|
|
|
|
|
| |
The umask changed for init. We have to force /data/anr to be world
readble and /data/anr/traces.txt to be world writable so dalvik
processes can write to it.
Hopefully this is a short term change while we investigate tightening
up these permissions.
Bug: 6300296
Change-Id: Iacb4c9f1bc69d2ac679697f9cf9a52694f888489
|
|
Change-Id: I8a5318022ce5cd3e7c8055f21fe5da74639aa6c0
|