Commits

Show all
Author Commit Message Labels Comments Date
Dianne Hackborn
Merge "Include the shared memory and slab memory in procrank output." into ics-mr0
Dianne Hackborn
Include the shared memory and slab memory in procrank output. Change-Id: I0dac539c220fda867ce166d78dc898a8ec7aa18a
Dianne Hackborn
DO NOT MERGE. Integrate: showmap now includes the number of maps in a row. Change-Id: I02c52cbb08b429881e1191971ecf097b2187e793
Guang Zhu
Bring screenshot back to bugreport Since the key cord for screen shot is now strictly enforced, we no longer get a free screen shot with bugreport. This change to bugreport script will capture a screen shot first, then proceed to dumpstate. SendBug is also updated accordingly to take 2 parameters: one for bugreport path, the other for screen shot path. Change-Id: I20fcea2f3a207b0dcd5341c8646c694dac12ec54
JP Abgrall
tests: add socket tagging test for qtaguid kernel netfilter module Add a small test to verify that socket tagging is not hopelessly broken. Test for - invalid: arg count, command, tags. - double tagging - acct_tag changing - optional uid - 64bit unsigned vs signed - invalid sock_fd - multiple entries - untagging - uid/gid checking + max tags. It tries its best to allow concurrent invocations, but it just can not be sure that it always detects the in-ke…
Alon Albert
Add screenshot to bugreport email if available Only works for email bugreport for now. Might add BugReported support later - requiers either changes to BugReporter tool or zipping the file with is not great. Change-Id: I1941a8436f6b5ba31b04334a89cad075f3bc836e
Guang Zhu
BugReporter integration Queries PackageManager for a predefined intent, if it's resolvable, hand the bugreport over to BugReporter. Otherwise same as before: compose an intent to send out in mail with attachment Change-Id: Ib7a5b49551ae9285ed46464277168487520d798b
Dianne Hackborn
Update to follow framework change. Change-Id: I1247ba30e6e2e424a4cce12063a3c6af5db035e9
Guang Zhu
additional scripts for emailing bugreports after capture First script calls dumpsys to generate the bugreport, second script launches a cmd line tool that queries account manager for possible accounts to set as "to:" field and launches an intent to mail the bugreport out This is done in 2 steps because it's more convenient to look up account for emailing with a framework context, but to make sure bugreport is captured, using dumpsys from shell script i…
Dianne Hackborn
Add information about totals to procrank. Now print a sum of all pss and uss at then end of the output, and then print information from /proc/meminfo to help put those in context. Change-Id: I323d219820830e9435bb4dcfd78cbb9a3d6c129c
Jeff Brown
Merge "showmap enhancements"
Jeff Brown
showmap enhancements Fixed a bug where maps were being coalesced even when they were not necessarily coalesced. Enhanced the BSS segment detection heuristic so that it takes the map start / end addresses into account and displays the inferred map type directly. Automatically sort all maps by name or address as appropriate. Fixed a bug parsing maps with paths that contain whitespace. Enhanced the -a argument to sho…
Ken Sumrall
Merge "Round down the filesystem size to a multiple of the block size"
Ken Sumrall
Round down the filesystem size to a multiple of the block size If it's not a multiple of the block size, then errors are generated when making sparse images. This doesn't change the size of the generated filesystem, because partial blocks are not included in the filesystem. Change-Id: Ifc00ef7961f651ce22c6400759eadce2775d7811
Colin Cross
Merge "Handle EOF when reading /proc/<pid>/pagemap"
Colin Cross
Handle EOF when reading /proc/<pid>/pagemap Instead of handling maps with the name "[vectors]" specially, silently ignore EOF when reading from /proc/<pid>/pagemap, which occurs any time a a mapping is outside of the userspace range. Change-Id: I674ade1eab6fd7732c6d9e120d0750cca5415b25
Colin Cross
Merge changes I5f0758bb,I03f90ae6 * changes: Ignore the vector page in /proc/<pid>/maps Detect an error case and prevent printing an uninitialized variable
Colin Cross
Ignore the vector page in /proc/<pid>/maps In kernel 2.6.37, the vector page was added to /proc/<pid>/maps, but because it is located above TASK_SIZE (usually 0xbf000000), it is considered to be in the kernel's address space, not the process', so it doesn't show up in /proc/<pid>/pagemap. When the vector page is detected, using the name "[vectors]", remove it from the map. Change-Id: I5f0758bbe5d2b927056fa9fee684fea63dd0fa4b
Colin Cross
Detect an error case and prevent printing an uninitialized variable pm_process_usage can return an error, and leave procs[i]->usage unitialized. Detect the error case and print a warning. Also make the initialization of procs[i]->usage to 0 unconditional, so nothing will be printed in the final procrank stats when an error is detected. Change-Id: I03f90ae6a5ebb201b6e9e43593cec225e1a8ded0
Jeff Brown
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I5a7df94d99dcb6f1de98bd9b8f659fd51a491c82
Guang Zhu
Merge "script for capturing and mailing bugreport"
Guang Zhu
script for capturing and mailing bugreport Change-Id: Ie6b25393bfd61be54dc6b58b81bffbc2d26b40f5
Kenny Root
More robust parsing for smaps Change-Id: Ica273bf302bbc5025e48aa62eff5bf64fbdcac77
Ken Sumrall
Update simg2img to handle CHUNK_TYPE_FILL. Change-Id: Ia4d178b535e1c154cf2b8e826ea1fba342b05658
Ken Sumrall
Bug fixes to make_ext4fs Fix definition of uuid struct. Properly set the block_group number in each backup copy of the superblock. Adjust the info.total_inodes field after rounding up the inodes per block group. Add the option -t to initialize all the inode tables. If also specified with the -s option, use the CHUNK_TYPE_FILL sparse records to initialize them. Change-Id: Idd8bcee1b9bde3e82ad8da89ef974fbc12d7a6c6
Ken Sumrall
Add test/debugging code to ext4fixup Add debugging test code to specify where to bail partway through Add a script to drive the test code for automated testing. This found 4 bugs! Change-Id: I14dc8b1e2c9d2d2f332346958d488feaf768d396
Ken Sumrall
Fixes for ext4fixup. Add check for filesystem that needs the journal run Fix check for a cleanly unmounted filesystem. Fix computation of new inode number Fix check in two places for high bit being set on inode num Only run sanity check pass if filesystem fixup state is unset (i.e. not partway through the conversion) Change-Id: Ib5521e7f3c04d32c02d9890644a99378e3a3659e
Ken Sumrall
ext4fixup tool to fix wonky filesystems made by old version of make_ext4fs The filesystems made by make_ext4fs for the Gingerbread and initial Honeycomb releases did not round up the number of inodes/block_group to use all the space available. This worked, but newer kernels have additional code that refuses to write to these filesystems. There is a kernel patch available to fix the problem in the kernel, but this tool was also written to fixup the filesystems to be com…
Ken Sumrall
A few small cleanups to setup_fs.c Based on code review comments when the code was moved from crespo specific code to ext4 generic code. Change-Id: Ia09261563863f6db1d5eadb5a3677b0b38382b93
  1. Prev
  2. Next