summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate
Commit message (Collapse)AuthorAgeFilesLines
* add /d/sync to dumpstateMathias Agopian2012-08-081-0/+1
| | | | Change-Id: I24f8f3e0420c2198ae3981fc067fb660898655e8
* am 4f0dfaa7: am 9be7caf3: Merge "Include stack traces for certain native ↵Jeff Brown2012-06-084-38/+82
|\ | | | | | | | | | | | | processes in bugreport." into jb-dev * commit '4f0dfaa7c338870eb58d96fe40234505734db728': Include stack traces for certain native processes in bugreport.
| * Include stack traces for certain native processes in bugreport.Jeff Brown2012-06-084-38/+82
| | | | | | | | | | Bug: 6615693 Change-Id: I64c3b3ce0bba62d9c332a795f7d979fb753dc27b
* | dumpstate: handle old style "adb bugreport"Nick Kralevich2012-06-061-36/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | dumpstate: Add kernel wakeup sources infoTodd Poynor2012-05-221-0/+1
|/ | | | Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
* Dump packages.xml as root.Jeff Sharkey2012-05-171-1/+1
| | | | | Bug: 6501151 Change-Id: Ied638bdbe9ed6fbf749a44de8ac1f9d4167829c1
* dumpstate: collect xtables based iface stats, update iptables info.JP Abgrall2012-05-161-2/+5
| | | | | | | | 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
* Ignore SIGPIPE is some of the tools used via bugreportJP Abgrall2012-05-111-0/+2
| | | | | | | | | | | 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
* Add sdcard_r group to dumpstate.Jeff Sharkey2012-04-111-1/+2
| | | | | Bug: 6321962 Change-Id: I318cd88493396f3d8adb5d4d0fc7a12ee40ba737
* dumpstate: don't follow symlinks when creating /data/anr/traces.txtNick Kralevich2012-04-061-1/+1
| | | | | | | | Make Android more robust against symlink attacks when /data/anr is world-writable. Bug: 5614000 Change-Id: I9a7e4c4ec9aa4300ac30a968db0dcd276f364ab6
* Ensure that /data/anr/traces.txt is world-writableNick Kralevich2012-04-061-0/+7
| | | | | | | | | | | | 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
* move dumpstate and dumpsys from frameworks/base to frameworks/nativeColin Cross2012-03-264-0/+1003
Change-Id: I8a5318022ce5cd3e7c8055f21fe5da74639aa6c0