Colin Cross
028aca2d06
Merge "libmemunreachable: track kernel binder references"
...
am: 454285dfcc
Change-Id: I2c30d94b6e628a637f59c353d862dc16cdf528e0
2017-07-13 19:55:22 +00:00
Colin Cross
454285dfcc
Merge "libmemunreachable: track kernel binder references"
2017-07-13 19:41:26 +00:00
Steven Moreland
f2a35db75c
Merge "Add vendor_available to liblog_headers."
...
am: f42d02830d
-s ours
Change-Id: Iba32e2a5ed864b0655428964bf09df60149e5184
2017-07-13 17:39:39 +00:00
Christopher Ferris
35f2bf43a7
Merge "A few cleanups."
...
am: 0c22c5646e
Change-Id: I557f9348d53d6c64efba4e25c7fa46970ca5e7a0
2017-07-13 16:59:56 +00:00
Steven Moreland
83999b3df8
Merge "libutils: liblog export headers"
...
am: 5607f36e01
-s ours
Change-Id: I63edd403d5e56136b7516798ae8c044bdbbfd448
2017-07-13 16:59:37 +00:00
Colin Cross
f572b91c4f
libmemunreachable: track kernel binder references
...
The kernel can hold references to binder objects that have no userspace
references. Allow libmemunreachable to call into libbinder and
libhwbinder to get lists of kernel references. Use undefined weak
symbols so that libmemunreachable will continue to work in processes
that do not have libbinder.
Test: memunreachable_binder_test
Bug: 28275695
Change-Id: I9eae73f2a51a49a7025ffe6309ccdc2693a2391b
2017-07-12 14:59:11 -07:00
Treehugger Robot
f42d02830d
Merge "Add vendor_available to liblog_headers."
2017-07-12 21:07:26 +00:00
Steven Moreland
c30f248cd4
Add vendor_available to liblog_headers.
...
Renamed NDK headers to "liblog_ndk_headers"
(these names aren't used anywhere).
libutils_headers now properly export liblog_headers.
Test: with BOARD_VNDK_VERSION=current
Merged-In: I3a85385f588b84393c57fd6d1bcac620f708f0f1
Change-Id: I3a85385f588b84393c57fd6d1bcac620f708f0f1
2017-07-12 12:59:30 -07:00
Christopher Ferris
0c22c5646e
Merge "A few cleanups."
2017-07-12 17:44:03 +00:00
Treehugger Robot
5607f36e01
Merge "libutils: liblog export headers"
2017-07-12 05:42:10 +00:00
Christopher Ferris
f6d5431273
A few cleanups.
...
- Cleanup the blueprint file a bit.
- Fix the formatting in DwarfMemoryTest.cpp.
- Fix the misnamed test MemoryBuffer.cpp to MemoryBufferTest.cpp.
- Add a function to find the location of the test files so it's not
necessary to run the test in the same directory as the test files.
Bug: 23762183
Test: Builds and unit tests pass.
Change-Id: I5666972bd01f14b8ee47c518f1840f8aeb7fd08b
2017-07-11 19:10:34 -07:00
Yifan Hong
67e0b810bc
Merge "Remove old LOG_EVENT_* code from libsysutils"
...
am: 5aee3ff22a
Change-Id: Iff831a155516d988a51b13a7ea173e27496de29c
2017-07-12 00:19:17 +00:00
Treehugger Robot
5aee3ff22a
Merge "Remove old LOG_EVENT_* code from libsysutils"
2017-07-12 00:11:50 +00:00
Baligh Uddin
36f46cd915
Merge "Fix mips build."
...
am: 97ba18ed7f
Change-Id: I6e5693234966ce8307376796fc9ceb6d2396a9b6
2017-07-11 23:13:44 +00:00
Baligh Uddin
97ba18ed7f
Merge "Fix mips build."
2017-07-11 23:07:43 +00:00
Yifan Hong
087f3b74af
Remove old LOG_EVENT_* code from libsysutils
...
As a side effect, this change fixes
libbsysutils => liblog dependencies. LOG_EVENT_*
macros are not defined for liblog.vendor.
Test: BOARD_VNDK_VERSION=current mma
Bug: 33241851
Bug: 63034227
Change-Id: I3df700d97481ec9aa59cf1796da1e991af28bdf5
2017-07-11 15:14:26 -07:00
Christopher Ferris
3517fe0413
Fix mips build.
...
Don't build for mips, none of this is supported on mips.
Bug: 23762183
Test: Mips build passes.
Change-Id: Iba89466a7bc13856f8fcd59ca0708a30f417b6c6
2017-07-11 15:06:19 -07:00
Robert Benea
92ad7c02d4
Merge "Use mem cgroups in libprocessgroup if they're available"
...
am: 3c7f566495
Change-Id: I7b50c83c5ba053faf6be62200570738744dd1e7b
2017-07-11 22:01:09 +00:00
Robert Benea
3c7f566495
Merge "Use mem cgroups in libprocessgroup if they're available"
2017-07-11 21:52:39 +00:00
Christopher Ferris
66c61b545a
Merge "Add full support for initing registers."
...
am: 1add237c8d
Change-Id: Ib9bb8b413ddc0ad411506a5343817f2af5177b1e
2017-07-11 21:23:13 +00:00
Christopher Ferris
1add237c8d
Merge "Add full support for initing registers."
2017-07-11 21:17:48 +00:00
Robert Benea
3280e48847
Use mem cgroups in libprocessgroup if they're available
...
Use mem cgroups if the kernel is built with CONFIG_MEMCG=y,
additionally add system group.
test: verified on both kernel with/without memcg enabled
Change-Id: Ia2ae89efa3905e9da68fa77adac1225c667864d1
2017-07-11 12:48:10 -07:00
Christopher Ferris
2a25c4aab5
Add full support for initing registers.
...
- Fixes a few bugs in untested functionality.
- Add tests for the way the register handling code is used.
- Fix a few tests that were not reaping child processes.
Bug: 23762183
Test: Ran unit tests on host (32 bit and 64 bit).
Test: Ran unit tests on angler (32 bit and 64 bit).
Change-Id: I573d6617b4f1561f6e8494d7213c52086d112d97
2017-07-11 12:15:54 -07:00
Tom Cherry
7ff0b008f7
Merge "Move Timer from init to libbase"
...
am: 896297b2ef
Change-Id: I1990fa013fa1fe69a61711faf032db45216f6f47
2017-07-10 18:28:25 +00:00
Tom Cherry
896297b2ef
Merge "Move Timer from init to libbase"
2017-07-10 18:23:29 +00:00
Tom Cherry
ede0d53850
Move Timer from init to libbase
...
Test: boot bullhead
Test: new libbase unit tests
Change-Id: Ic398a1daa1fe92c10ea7bc1e6ac3f781cee9a5b5
2017-07-10 09:28:24 -07:00
Ian Elliott
cbe556ee62
Merge "Use void instead of no parameters in 2 function declarations."
...
am: 11b91e7c28
Change-Id: Ie41c3cbf8c6017994d3728c638fc85c55df3ec94
2017-07-10 12:09:43 +00:00
Ian Elliott
11b91e7c28
Merge "Use void instead of no parameters in 2 function declarations."
2017-07-10 12:01:51 +00:00
Tim Murray
7f857bb9ff
Merge "Revert "Use mem cgroups in libprocessgroup if they're available""
...
am: e8a75e8f76
Change-Id: Iec01b90ae7d49d1eaf4a6e0c5324749a358db5d6
2017-07-08 01:45:50 +00:00
Treehugger Robot
e8a75e8f76
Merge "Revert "Use mem cgroups in libprocessgroup if they're available""
2017-07-08 01:41:19 +00:00
Tim Murray
fc10e3d5e5
Revert "Use mem cgroups in libprocessgroup if they're available"
...
This reverts commit 32375c2328
.
bug 63164307
Change-Id: I3336bbf7c2f3297b231c5b0a1ef538faff9513fd
2017-07-08 00:04:42 +00:00
Ian Elliott
58e06c5f94
Use void instead of no parameters in 2 function declarations.
...
In compiling some code with a picky "Android.mk" file, it is not happy
with a function declaration that looks like:
void foo();
It requires:
void foo(void);
This commit changes that for 2 functions in "log.h".
Test: Build both Android and the code with a picky "Android.mk".
Change-Id: Icd624df34db57e642fe6b1c7da77be9b05936936
2017-07-07 16:11:32 -06:00
Christopher Ferris
793ffcbf20
Merge "Add missing test files to compile."
...
am: 32ac9bfd09
Change-Id: Iaf2ebb9f3d39b2e99724b2bed0512b4f0bb3da3c
2017-07-07 21:33:49 +00:00
Christopher Ferris
32ac9bfd09
Merge "Add missing test files to compile."
2017-07-07 21:26:30 +00:00
Christopher Ferris
9744fb2b54
Add missing test files to compile.
...
Bug: 23762183
Test: Ran unit tests.
Change-Id: I8ac43517231d88c68c288800d8ed286daa57bce1
2017-07-07 12:25:23 -07:00
Christopher Ferris
f5b374a8b3
Merge "Init .gnu_debugdata in GetElf()."
...
am: 2d07f72961
Change-Id: I485c6211dfef3b0468dcdd9cf8cc9347b2563231
2017-07-07 19:01:11 +00:00
Christopher Ferris
2d07f72961
Merge "Init .gnu_debugdata in GetElf()."
2017-07-07 18:56:56 +00:00
Android Build Merger (Role)
200d376b75
Merge "Merge "bootstat.cpp: update help message for --record_boot_complete" am: f444650d0d" into stage-aosp-master
2017-07-07 17:43:37 +00:00
Yongqin Liu
b1cef7e70b
Merge "bootstat.cpp: update help message for --record_boot_complete"
...
am: f444650d0d
Change-Id: I63801d806f3ab3bc2977ec74ad003f137899c34a
2017-07-07 17:43:27 +00:00
Yongqin Liu
efe27cd2f6
Merge "bootstat.cpp: update help message for --record_boot_complete"
...
am: f444650d0d
Change-Id: Ifecefb1d52188d8a82208097f67302c91e30c93e
2017-07-07 17:43:19 +00:00
Treehugger Robot
f444650d0d
Merge "bootstat.cpp: update help message for --record_boot_complete"
2017-07-07 17:27:05 +00:00
Yongqin Liu
78b2b94d1d
bootstat.cpp: update help message for --record_boot_complete
...
add description about --record_boot_complete in the help
Test: manually with HiKey
Change-Id: I521d6f5b9d98113c006fc6ab146b6c353ce2390c
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-07-07 15:27:10 +00:00
Colin Cross
2abcc0a178
Merge "Add test config for memunreachable_test"
...
am: a6bee4a29e
Change-Id: I90ae7480d84a77143f63d0f5527392a9b0021bb7
2017-07-07 04:17:59 +00:00
Treehugger Robot
a6bee4a29e
Merge "Add test config for memunreachable_test"
2017-07-07 04:11:22 +00:00
Colin Cross
55665c3c97
Merge "Remove reference to deleted gzip module"
...
am: 48d610ab18
Change-Id: I5be86c2fb388df0e651c089040adc9be2580f4d6
2017-07-07 01:44:05 +00:00
Treehugger Robot
48d610ab18
Merge "Remove reference to deleted gzip module"
2017-07-07 01:34:40 +00:00
Colin Cross
b9e74ba400
Add test config for memunreachable_test
...
Test: none
Change-Id: Ieb297a2fcece6365a074cd470b3ca56e2baea926
2017-07-07 01:07:05 +00:00
Android Build Merger (Role)
b3c418e847
Merge "Merge "Move libnativebridge headers into the module." am: 508e0b8b34" into stage-aosp-master
2017-07-06 23:47:59 +00:00
Steven Moreland
a931c8aee5
Merge "Move libnativebridge headers into the module."
...
am: 508e0b8b34
Change-Id: Ifb3e84ed0a059f10efe8e25595387a17c2b0ed46
2017-07-06 23:47:31 +00:00
Steven Moreland
1921ab7c0e
Merge "Move libnativebridge headers into the module."
...
am: 508e0b8b34
Change-Id: I9135de5cbda05c9b4b686b0c6dda26c2d561d31e
2017-07-06 23:46:57 +00:00