Mohamad Ayyash
e455814ca0
Merge "fastboot: Make tags_offset a command line option."
2014-05-01 21:18:21 +00:00
Mark Salyzyn
4f651d426d
Merge "libsysutil: turn on -Werror (part deux)"
2014-05-01 20:40:43 +00:00
Mark Salyzyn
7627f105c0
Merge "init: 64-bit build issue"
2014-05-01 20:37:59 +00:00
Mark Salyzyn
ebd35b6716
Merge "logd: oneline statistics does not report PID gone"
2014-05-01 20:37:01 +00:00
Mohamad Ayyash
29fd7b1f4f
fastboot: Make tags_offset a command line option.
...
cherry picked from commit bdf513c5f2
Change-Id: I4ceca528f88cc8ede5742f8a67bec972e41eebe7
2014-05-01 20:31:29 +00:00
Mark Salyzyn
80f63d4b2c
libsysutil: turn on -Werror (part deux)
...
- x86_64 format warnings
Change-Id: I81c2702f564bcada946f6a10f34bbf34c90f766b
2014-05-01 12:19:45 -07:00
Mark Salyzyn
ebf49f3e87
init: 64-bit build issue
...
(cherry pick from Icc5344abc184adf4247175d85b2da08af4636e49)
Change-Id: I88b0c9b20720ac62ebae8359ded4ab77b4ebcdde
2014-05-01 12:19:45 -07:00
Ruchi Kandoi
c758081993
Merge "ueventd: Ueventd changes the permission of sysfs files for max/min cpufreq"
2014-05-01 17:42:18 +00:00
Ruchi Kandoi
75b287b771
ueventd: Ueventd changes the permission of sysfs files for max/min
...
cpufreq
The owner and permissions for the sysfs file
/sys/devices/system/cpu*/cpufreq/scaling_max/min_freq is changed.
This would allow the PowerHAL to change the max/min cpufreq even after
the associated CPU's are hotplugged out and back in.
Change-Id: Ibe0b4aaf3db555ed48e89a7fcd0c5fd3a18cf233
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-05-01 17:30:41 +00:00
Mark Salyzyn
fdabe72876
logd: oneline statistics does not report PID gone
...
- oneline, add check for gone
- Add pidGone() method, which caches the gone status
Change-Id: I8f03daeafb58583c2b08ec6b540486c05da0872d
2014-05-01 10:20:51 -07:00
Christopher Ferris
9ed86eff88
Merge "Use real time signal for threads instead of SIGURG."
2014-05-01 00:13:46 +00:00
Mark Salyzyn
f8eb56b2c0
Merge "libsysutil: turn off -Werror"
2014-05-01 00:08:23 +00:00
Mark Salyzyn
03b00f3365
libsysutil: turn off -Werror
...
temporary to work out issue with git_mirror-asop-master build
Change-Id: Ie65c65abb0a70dc134fded15db8b9d98e1701edd
2014-04-30 17:01:39 -07:00
Christopher Ferris
aa63d9f980
Use real time signal for threads instead of SIGURG.
...
This guarantees that any application is not also using this signal
for some other purpose.
Change-Id: I7c9bbb0ec8bb4e13322ecda951bcd43c6bf6ee1a
2014-04-30 16:32:47 -07:00
Mark Salyzyn
a2723e0f7f
Merge "libsysutils: turn on -Werror"
2014-04-30 23:22:35 +00:00
Mark Salyzyn
9418fd1821
libsysutils: turn on -Werror
...
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I428a0032a8743c68c97f528d5f305ba63fee1d29
2014-04-30 07:51:47 -07:00
Nick Kralevich
f3661cc2f1
Merge "Add prefx to netlink failure and dispatchCommand overflow logs."
2014-04-29 20:25:20 +00:00
William Luh
28fa45858e
Add prefx to netlink failure and dispatchCommand overflow logs.
...
Prefix ensures proper user-consent filter.
(cherry picked from commit 564244cd38
)
Bug:5848002
Change-Id: Iee7287773f0af52c225a821ee0e9d643c83cc060
2014-04-29 13:16:26 -07:00
Mark Salyzyn
4f17e530f9
Merge "logd: add logd.auditd property"
2014-04-29 19:55:41 +00:00
Christopher Ferris
0b0e0eae8c
Merge "Small cleanup of duplicated test values."
2014-04-29 15:56:17 +00:00
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
Christopher Ferris
11b5fcb9f1
Small cleanup of duplicated test values.
...
A few flags were duplicates of flags already passed when using the TEST
targets.
Change-Id: I8f0d09915f5b830050fe25635a0852e8536e3aca
2014-04-28 21:06:31 -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