| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Dump only those tombstones modified within the last half an hour.
Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7
|
|
|
|
|
|
| |
(cherry picked from commit 1e4ee9afd2de12af98dbf476b73e2d43f605384c)
Change-Id: Ie005774484f98bb33c8f867cddb778ac04a1d4ea
|
|
|
|
|
| |
Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df
(cherry picked from commit ed3b9a09771a79b62fd4a5943d3845e7ceee6a34)
|
|\
| |
| |
| | |
Change-Id: I1d1e623a1f95baa4375a87242ce71ea789884649
|
| |\
| | |
| | |
| | |
| | | |
* commit '0d2bee0c0baec56ec98867d7e044602097525248':
Dump all the correct routing tables.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The list of tables is maintained in /data/misc/net/rt_tables by netd.
Change-Id: I55475c08c5e43bcf61af916210e680c47480ac32
|
|/ /
| |
| |
| | |
Change-Id: Ic832b19fe698da1984876b2949c3f26990ae5076
|
|/
|
|
| |
Change-Id: I41a922b33f0b6b4e8e150a92e46032501a165e33
|
|
|
|
|
|
| |
Use new compact option to include history when dumping battery stats.
Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
|
|
|
|
|
|
|
| |
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
|
| |
| |
| |
| |
| | |
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 '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>
|
|/
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
* commit 'e917bfbd19c265ef09c90f93f5dc175fc62259f5':
Allow disable of dumpstate vibrate
|
| |
| |
| |
| | |
Change-Id: I747b757f4b5e2d6a472b7b2a19f8c1ca8a4b7fdd
|
| |
| |
| |
| | |
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
|
|
Change-Id: I8a5318022ce5cd3e7c8055f21fe5da74639aa6c0
|