Mark Salyzyn
e0fa291e89
logd: add logd.auditd property
...
- permit us a mechanism to disable auditd
- standardize property boolean
Bug: 14275676
Change-Id: I76f245c6aee511ed44274159e0ea55915b484dda
2014-04-29 07:25:27 -07:00
Mark Salyzyn
4095853133
Merge "logd: add thread setname"
2014-04-29 00:41:32 +00:00
Mark Salyzyn
8daa9af02d
logd: add thread setname
...
- permits easier determination of logd thread at
fault in a stack trace from debuggerd.
Bug: 14275676
Change-Id: Iac2c523147e2bcce34ab7ddcecd02582c5fa7cc0
2014-04-29 00:37:37 +00:00
Elliott Hughes
ab3d49b035
Merge "Use the si_code value bionic passes us."
2014-04-26 03:23:19 +00:00
Elliott Hughes
855fcc3114
Use the si_code value bionic passes us.
...
Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.
Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
2014-04-25 20:20:39 -07:00
Christopher Ferris
2317287d18
Merge "Remove libcorkscrew."
2014-04-25 20:40:40 +00:00
Mark Salyzyn
da7409da7e
Merge "logd: enable UID spam filter and test"
2014-04-25 20:40:20 +00:00
Mark Salyzyn
1ab0cf4d34
Merge "logd: Statistics improvements"
2014-04-25 20:40:05 +00:00
Mark Salyzyn
72db489c9e
Merge "liblog: test bionic libc_logging.cpp"
2014-04-25 19:27:38 +00:00
Christopher Ferris
688a8a7232
Remove libcorkscrew.
...
All unwinding is now done through libunwind.
Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
2014-04-25 11:25:56 -07:00
Christopher Ferris
4a5966b9a2
Merge "Change sprintf to snprintf calls."
2014-04-25 18:25:06 +00:00
Mark Salyzyn
e821dace41
logd: enable UID spam filter and test
...
Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
2014-04-25 11:03:58 -07:00
Mark Salyzyn
d2e3747e70
liblog: test bionic libc_logging.cpp
...
Change-Id: Ia778c43513a28c85ae54e96926ee9ed56717d527
2014-04-25 10:59:29 -07:00
Mark Salyzyn
c8a576c637
logd: Statistics improvements
...
- Drop in-place sorting.
- Add fast-track for uid sizes and elements.
- Add sort() for per-uid and per-pid statistics.
Change-Id: Ib8655d4cc0b3bd4e87534522987bcc7fc7a5251a
2014-04-25 10:46:27 -07:00
Christopher Ferris
b8c72957f0
Change sprintf to snprintf calls.
...
Change-Id: I8893246fcd541d97b02a1a4cac81c53c6cd2e394
2014-04-24 16:20:50 -07:00
Mark Salyzyn
72031ab878
Merge "logd: liblog: ALOG silently drops excessively long messages"
2014-04-24 23:12:57 +00:00
Elliott Hughes
dc5442c037
Merge "Add missing si_code values to debuggerd."
2014-04-24 23:11:36 +00:00
Mark Salyzyn
8444eb81b3
logd: liblog: ALOG silently drops excessively long messages
...
Bug: 14280914
Change-Id: Idddd29784625094e54144953c29f64692a88eee9
2014-04-24 15:49:57 -07:00
Mark Salyzyn
b674c0fdf7
Merge "logd: Add README.property"
2014-04-24 22:31:15 +00:00
Rom Lemarchand
19759a0805
Merge "audio: fix audio_is_bluetooth_sco_device()"
2014-04-24 22:14:13 +00:00
Mark Salyzyn
7260a5c348
logd: Add README.property
...
Change-Id: I89da10a73470b037f1811a9890d959cae186f257
2014-04-24 15:07:54 -07:00
Eric Laurent
b526630ab8
audio: fix audio_is_bluetooth_sco_device()
...
Bug: 14268964
Change-Id: Ia2a185c5e0939930c5114209651a1e0db6c36ef3
2014-04-24 22:03:00 +00:00
Elliott Hughes
bd395b9a14
Add missing si_code values to debuggerd.
...
Also add static_asserts so we'll be notified if any more new ones show up.
Change-Id: I3a502dd4da35354e1ac65865191d31ccdacef298
2014-04-24 13:53:22 -07:00
Elliott Hughes
6798914b6f
Merge "Improve liblog's fatal logging."
2014-04-24 20:33:59 +00:00
Elliott Hughes
da6b2e2fd7
Improve liblog's fatal logging.
...
This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular
assert(3).
Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
2014-04-24 13:28:24 -07:00
Mark Salyzyn
0607e104c2
Merge "liblog: Statistics truncated to 16384 bytes"
2014-04-22 19:15:00 +00:00
Christopher Ferris
07fa043341
Merge "Remove the arm64 special case."
2014-04-22 01:47:12 +00:00
Christopher Ferris
04fd4389fb
Remove the arm64 special case.
...
The stack-protector option is handled by the global makefiles.
Change-Id: I99c4a1624e72ad91ac10eef27c0e3758fe9af8ba
2014-04-21 17:57:56 -07:00
Mark Salyzyn
696817d352
liblog: Statistics truncated to 16384 bytes
...
- if network read/write broken up, reassemble the pieces.
- Use a 20ms poll to check if a new fragment has been
sent by the other side.
- fixup logd-unit-tests to take a (simplified) fragment
from the liblog changes.
Bug: 14164765
Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
2014-04-21 17:07:25 -07:00
Elliott Hughes
a67914e4d6
Merge "Fix top(1) SIGPIPE behavior."
2014-04-19 00:19:00 +00:00
Elliott Hughes
5922d3b5be
Fix top(1) SIGPIPE behavior.
...
Bug: 14166609
Change-Id: I4aad1e0db2e875735405d094fb0d1a36862b5b19
2014-04-18 16:53:04 -07:00
Colin Cross
958235bdc1
Merge "libsparse: allow including from C++"
2014-04-18 21:22:54 +00:00
Colin Cross
099824cce3
libsparse: allow including from C++
...
Change-Id: I3788fd07e2b52430a410f85fb79dc886c6a07fea
2014-04-18 14:22:22 -07:00
JP Abgrall
9bb44b41da
Merge "rootdir: init.rc: update max TCP window sizes for mobile networks"
2014-04-18 19:20:54 +00:00
Narayan Reddy
ce898489e4
rootdir: init.rc: update max TCP window sizes for mobile networks
...
GRPS: RTT=600ms, max tput=80kbps (class 12 GMSK 4+1)
EDGE: RTT=300ms, max tput=236kbps (class 12 8PSK)
UMTS: RTT=200ms, max tput=384kbps (R99)
HSDPA: RTT=75ms, max tput=14Mbps (cat 10)
HSUPA: RTT=50ms, max tput=14Mbps
HSPA: RTT=50ms, max tput=14Mbps
HSPA+: RTT=50ms, max tput=42Mbps (cat 20)
LTE: RTT=20ms, max tput=100Mbps (class 3)
bug 67569
Change-Id: I9d62359bbd11dc68e3649a7ea2295d0d4e25e3f2
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Signed-off-by: Steve Lin <stlin@nvidia.com>
2014-04-18 19:19:44 +00:00
Colin Cross
e99e5474e1
Merge "Sync persist property immediately,in case of suddenly remove the battery."
2014-04-18 18:49:17 +00:00
Colin Cross
4785ea6074
Merge "adb: Add USB vendor ID for Prestigio"
2014-04-18 00:43:39 +00:00
Mark Salyzyn
3ad0af6d04
Merge "logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH"
2014-04-17 23:12:10 +00:00
Mark Salyzyn
0516aded0e
Merge "logd: libsysutils: logd startup outside init environment"
2014-04-17 23:11:40 +00:00
Mark Salyzyn
25f07f77ec
Merge changes I487ebe67,Ie7a0aeb2
...
* changes:
libutils: FileMap styling adjustments
libutils: FileMap 64 bit compile issues
2014-04-17 20:47:38 +00:00
Mark Salyzyn
b618576ff1
libutils: FileMap styling adjustments
...
Change-Id: I487ebe67a46a7b8f680e722141dd216bbd396f3e
2014-04-17 10:02:15 -07:00
Mark Salyzyn
15085a6a2c
libutils: FileMap 64 bit compile issues
...
Change-Id: Ie7a0aeb2a7e2d2a90aa2b97c657ea7ec566bf793
2014-04-17 09:43:36 -07:00
Mark Salyzyn
280b7d40f5
Merge "libutils: BlobCache 64 bit compile issues"
2014-04-17 16:42:32 +00:00
Mark Salyzyn
dfc47e8685
logd: libsysutils: logd startup outside init environment
...
Change-Id: I3426b6c3eebdd0c8258e966dcaaaa2825d7a23d1
2014-04-17 16:14:24 +00:00
Mark Salyzyn
387c561300
libutils: BlobCache 64 bit compile issues
...
Change-Id: I60e9bddfff04f19834b83bdc26a83ca7173363c3
2014-04-17 08:32:11 -07:00
Mark Salyzyn
99f47a9e7c
logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH
...
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
2014-04-16 15:38:50 -07:00
DanielMo
76b526a2ca
adb: Add USB vendor ID for Prestigio
...
Change-Id: Ib9e79043961b9b1fa27d87f5bc815000e7965706
Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
2014-04-16 12:15:21 +08:00
Mark Salyzyn
26bb9970c4
Merge "logd: Add logd_test"
2014-04-15 23:17:34 +00:00
Christopher Ferris
64e71a7c2e
Merge "Avoid logging functions from signal handler."
2014-04-15 21:20:11 +00:00
Christopher Ferris
17224d57fb
Avoid logging functions from signal handler.
...
(cherry picked from commit 9007677fcb
)
Change-Id: Ic0163f43308c6a281ab3757d90933e5127843fed
2014-04-15 12:18:44 -07:00