summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Next phase of the move, reformat use C++ features."Christopher Ferris2014-01-1417-1925/+1812
|\ \ \ \
| * | | | Next phase of the move, reformat use C++ features.Christopher Ferris2014-01-1317-1925/+1812
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the libbacktrace C++ interface instead of the C interface in debuggerd. Reformat the debuggerd code to be closer to Google C++ style. Fix all debuggerd casts to be C++ casts. Add a frame number to the frame data structure for ease of formatting and add another FormatFrameData function. Change the format_test to use the new FormatFrameData function. Modify all of the backtrace_test to use the C++ interface. Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
* | | | Merge "restorecon_recursive("/sys") speed boot time"Nick Kralevich2014-01-141-11/+34
|\ \ \ \ | |/ / / |/| | |
| * | | restorecon_recursive("/sys") speed boot timeNick Kralevich2014-01-101-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the restorecon_recursive("/sys") call in init.c takes approx 2 seconds on hammerhead. This change reduces the delay to 1.2 seconds. 1) Avoid double stat call when using nftw (time savings of 0.3 seconds) 2) Avoid the repeated calls to is_selinux_enabled() (time savings of 0.5 seconds) Avoid calling lsetfilecon if the file is already properly labeled. This doesn't speed up the restorecon on /sys, but it should help when handling files on /data. Bug: 11640230 Change-Id: Ie212ce4f4acade208c5676d60c1f03f50e2388a4
* | | | Merge "Emerson USB ID"Colin Cross2014-01-121-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Emerson USB IDJon Sawyer2014-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds Emerson's USB id to the known USB Devices. Change-Id: If6115c2551c1f30a5c190690f2aeaaf2adff7ee1 Signed-off-by: Jon Sawyer <jon@cunninglogic.com>
* | | | Merge "Move to C++ for debuggerd."Christopher Ferris2014-01-119-14/+22
|\ \ \ \ | |_|/ / |/| | |
| * | | Move to C++ for debuggerd.Christopher Ferris2014-01-109-14/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This is part 1, only including the bare minimum changes because our diff tool doesn't easily show differences when a file moves. This also breaks it into a small chunk in case some other changes break things, as unlikely as I think that will be. Change-Id: Ib7a3e7a2cc1ac574d15b65fda23813ebcf5d31af
* | | Merge "Init the abort_msg_address value."Christopher Ferris2014-01-101-0/+2
|\ \ \
| * | | Init the abort_msg_address value.Christopher Ferris2014-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When initiating a manual dump, the abort_msg_address parameter is random garbage. Initialize this value to 0. Change-Id: I9ba817ee6104f47cfcb2b746bfa6f02a259c86d7
* | | | Merge "Use the more portable <elf.h> instead of <sys/exec_elf.h>."Elliott Hughes2014-01-103-3/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Use the more portable <elf.h> instead of <sys/exec_elf.h>.Elliott Hughes2014-01-103-3/+3
|/ / / | | | | | | | | | | | | Bug: 12476126 Change-Id: I08684987e867371d5537dadf1acb3408b420ad0c
* | | Merge "toolbox: Fix date tool with /dev/alarm"Benoit Goby2014-01-101-1/+1
|\ \ \
| * | | toolbox: Fix date tool with /dev/alarmBenoit Goby2014-01-091-1/+1
|/ / / | | | | | | | | | | | | Change-Id: I6f8ad2149244c89690d5d5caae8ec55429462210 Signed-off-by: Benoit Goby <benoit@android.com>
* | | Merge "Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD."Christopher Ferris2014-01-094-17/+24
|\ \ \
| * | | Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.Christopher Ferris2014-01-094-17/+24
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac (cherry picked from commit 242b1a8c7a5ec73172bac811e51acbc27201f22c) Conflicts: libbacktrace/Backtrace.cpp
* | | Merge "Move CallStack to libbacktrace."Christopher Ferris2014-01-096-123/+36
|\ \ \
| * | | Move CallStack to libbacktrace.Christopher Ferris2014-01-096-123/+36
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Fix a small bug in the Printer for strings that didn't properly prepend the prefix. (cherry picked from commit 9b0e074c6d38143e01616404a08b0c7aa992f3c3) Change-Id: I78bfa3f76864c34f33fb439bf20dfc85616f1077
* | | Merge "HP USB ID"Colin Cross2014-01-091-0/+3
|\ \ \
| * | | HP USB IDJon Sawyer2014-01-081-0/+3
| |/ / | | | | | | | | | | | | | | | | | | Adds HP's USB id to the know USB Devices Change-Id: I975126f3ae5e53f25e18dea7cc43c29076bfc965 Signed-off-by: Jon Sawyer <jon@cunninglogic.com>
* | | Merge "Fix tracing on user builds"Colin Cross2014-01-091-0/+2
|\ \ \
| * | | Fix tracing on user buildsCarton He2013-12-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need the set correct permission for print-tgid option or tracing of sched can't work on user build. Change-Id: Ia88aabe58128b911afd78f01c27f7da884ed03f0 Signed-off-by: Carton He <carton.he@marvell.com>
* | | | Merge "Refactor to share map_info amongst threads."Christopher Ferris2014-01-0810-44/+75
|\ \ \ \
| * | | | Refactor to share map_info amongst threads.Christopher Ferris2014-01-0810-44/+75
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Allow the use of the same map info to be shared when getting information on multiple threads from the same pid. Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
* | | | Merge "Label existing /data/mediadrm files."Nick Kralevich2014-01-081-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Label existing /data/mediadrm files.rpcraig2014-01-071-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Use restorecon_recursive to label devices where the directory and subfiles have already been built and labeled. Change-Id: I0dfe1e542fb153ad20adf7b2b1f1c087b4956a12 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | | Merge "SWAP_FLAG_* constants are now in <sys/swap.h>."Elliott Hughes2014-01-082-11/+0
|\ \ \ | |/ / |/| |
| * | SWAP_FLAG_* constants are now in <sys/swap.h>.Elliott Hughes2014-01-072-11/+0
| | | | | | | | | | | | | | | Bug: 9336527 Change-Id: I77e2b05cefbfb4eebda39b4079107833f4160563
* | | Merge "Fix the ucontext for mips/x86."Christopher Ferris2014-01-071-15/+4
|\ \ \ | |/ / |/| |
| * | Fix the ucontext for mips/x86.Christopher Ferris2014-01-071-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the mips ucontext definition, there is no need for it any more. Fix the mips/x86 ucontext copy code to copy the entire uc_mcontext data across. Fix a potential memory leak too. Change-Id: I4272022da5281ed881e2d59a3e19e7f33c01aceb
* | | Merge "Dwarf backtrace for MIPS"Elliott Hughes2014-01-074-84/+1061
|\ \ \ | |/ / |/| |
| * | Dwarf backtrace for MIPSChris Dearman2013-12-114-84/+1061
| | | | | | | | | | | | | | | | | | | | | The Dwarf parsing code was copied from backtrace-x86.c and modified for MIPS Change-Id: I62c698fbbea28be39320a921dd778269dc478528
* | | Merge changes Id8bec8a3,Ied42e4d0,Iea3f7cc6,Ic7f7c984,Ic77d5f71, ...Colin Cross2014-01-061-150/+175
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: adb: Add USB vendor ID for YotaDevices adb: Add USB vendor ID for TechFaith adb: Add USB vendor ID for Rockchip adb: Add USB vendor ID for EMERGING Technology (Holdings) Ltd. adb: Add USB vendor ID for Allwinner adb: Add USB vendor ID for Amlogic added Gigaset's USB vendor ID adb: alphabetically sort usb vendors lists
| * | | adb: Add USB vendor ID for YotaDevicesDanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Id8bec8a35edd0d21ae52e8469f7a65b5f4433bc2 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
| * | | adb: Add USB vendor ID for TechFaithDanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | Change-Id: Ied42e4d011b736ee990ed75e7d81bc6a16db47f9
| * | | adb: Add USB vendor ID for RockchipDanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Iea3f7cc6ed463684fe30a73c39445b3ca36854d9 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
| * | | adb: Add USB vendor ID for EMERGING Technology (Holdings) Ltd.DanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic7f7c984db19050d2ce4da8ae87683ce42dc9094 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
| * | | adb: Add USB vendor ID for AllwinnerDanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic77d5f71c9e329e33cd31fa0854e692ad794a609 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
| * | | adb: Add USB vendor ID for AmlogicDanielMo2014-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I35fad82214f2b5a82b0150821326aaea15784de1 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
| * | | added Gigaset's USB vendor IDVolker Moesker2014-01-061-1/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Iebb0f352eec4530ee1e972527fc76bbb9dad5cc3 Signed-off-by: Volker Moesker <volker.moesker@gigaset.com>
| * | | adb: alphabetically sort usb vendors listsColin Cross2014-01-061-150/+155
|/ / / | | | | | | | | | | | | | | | | | | Sort the lists of usb vendor ids alphabetically to reduce future conflicts. Change-Id: I682c18a1d97adf3a4aa9c00de9fed932c83e4646
* | | Merge "move sync headers from include to libsync"Rom Lemarchand2014-01-035-3/+4
|\ \ \
| * | | move sync headers from include to libsyncRom Lemarchand2014-01-035-3/+4
|/ / / | | | | | | | | | | | | | | | Make sw_sync.h private Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
* | | Merge "Fix a sporadic build breakage."Elliott Hughes2014-01-031-1/+1
|\ \ \
| * | | Fix a sporadic build breakage.Narayan Kamath2014-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue here is that the makefile sets LOCAL_LDFLAGS and asks for -llog without declaring a dependency on it. This will cause build breakages if liblog hasn't already been built yet. Change-Id: Ia38761cda44a38b6c2a88902d6108cbe64a328ce
* | | | Merge "Modify BYD's USB Vendor ID"Colin Cross2014-01-031-1/+1
|\ \ \ \
| * | | | Modify BYD's USB Vendor IDkongfanqing2013-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I391487a12ba7ed86aac81457f8026acd3fd7576c
* | | | | Merge "adb: configure /system file permission with fs_config"Nick Kralevich2014-01-032-10/+65
|\ \ \ \ \
| * | | | | adb: configure /system file permission with fs_configLiang Cheng2014-01-022-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adbd changes the permissions of files uploaded by copying owner's permission to group and other. This causes kernel load failure if any changes are made to kernel modules followed by ``adb push'' or ``adb sync'' because file mode 644 would become 666. The change uses fs_config to get the target mode of files. In addition, the SELinux file label is set incorrectly on synced files. Set the label properly. Change-Id: I354db848f39adfbf189d7e8d3b028e8d763c772f Signed-off-by: Liang Cheng <licheng@nvidia.com> Bug: 12264775
* | | | | | Merge "Change a debug log to a verbose log."Narayan Kamath2014-01-031-1/+1
|\ \ \ \ \ \