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
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
Mark Salyzyn
d3ba665020
logd: Add logd_test
...
* Test statistics output, all four main log id types
are checked to be present, and output is properly
formatted with header (ascii new-line terminated
byte count) and trailer (newline formfeed) frames.
* On dev build test dgram_qlen, circumvent if
liblog benchmarks executed first though.
* Test if kernel and user space loggers are
present, and if any content has leaked to both.
* test benchmark and use it to verify worst UID pruning
Change-Id: I890c89f64825956f40108de806ed750b0170ac6c
2014-04-15 10:21:57 -07:00
Narayan Kamath
0f4575dbbd
Merge "HAVE_POSIX_CLOCKS doesn't imply CLOCK_BOOTTIME."
2014-04-15 10:56:26 +00:00
Narayan Kamath
4706320eb3
Merge "Include 64bit valgrind in the android_filesystem_config."
2014-04-14 15:56:37 +00:00
Colin Cross
a1551e9b4c
Merge "Fix buffer overflow in syren utility"
2014-04-13 18:04:23 +00:00
nks
3967f81b56
Fix buffer overflow in syren utility
...
Patch for https://code.google.com/p/android/issues/detail?id=68268
A length check for the argv[2] was added in order to prevent buffer
overflow. Also replace strcpy with strlcpy.
Signed-off-by: nks <nks@sixserv.org>
Change-Id: If65b83e9b658315c672e684f64e3ae00e69fac31
2014-04-13 10:45:30 -07:00
Narayan Kamath
6b7ab90ca9
Include 64bit valgrind in the android_filesystem_config.
...
Required so that we set the exectuable bit correctly.
Change-Id: If59bd0ff47d2b4b2b8f92a1c007b4ba414ea1876
2014-04-12 09:11:16 +01:00
Sasha Levitskiy
835526fdc0
Merge "Cleanup: warning fixit."
2014-04-11 23:54:05 +00:00