OSDN Git Service
Tao Bao [Mon, 17 Oct 2016 23:06:31 +0000 (16:06 -0700)]
build_verity_metadata: Support --signer_args argument.
Use argparse to parse input parameters for future extension.
Add 'build' and 'size' as two sub-commands.
- 'build_verity_metadata.py -s SIZE' becomes
'build_verity_metadata.py size SIZE'.
- 'build_verity_metadata.py BLOCKS METADATA_IMAGE ...' becomes
'build_verity_metadata.py build BLOCKS METADATA_IMAGE ...'.
The 'build' command now accepts an optional argument '--signer_args' to
specify signer specific arguments.
Bug:
31500665
Test: Building and signing work w/ and w/o --signer_args.
Change-Id: I3cfd2b584efad216b91d5fcd0314f4468ff7450f
Tao Bao [Mon, 10 Oct 2016 20:07:32 +0000 (20:07 +0000)]
Merge changes from topic 'ext4_utils_header'
* changes:
libfec: Update the header path for ext4_utils.
ext4_utils: Export headers for libext4_utils* libs.
Tao Bao [Thu, 6 Oct 2016 06:11:36 +0000 (23:11 -0700)]
libfec: Update the header path for ext4_utils.
Test: mmma system/extras/libfec
Change-Id: I28b71419019c3bb0873b159e178cdfcfb5d89922
Tao Bao [Wed, 5 Oct 2016 19:44:18 +0000 (12:44 -0700)]
ext4_utils: Export headers for libext4_utils* libs.
So we can do "#include <ext4_utils/make_ext4fs.h>" without adding
"LOCAL_C_INCLUDES += system/extras/ext4_utils".
Also clean up the #include lines in system/extras/ext4_utils/.
Test: `m checkbuild` works.
Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60
Treehugger Robot [Sun, 9 Oct 2016 00:00:53 +0000 (00:00 +0000)]
Merge "Rely on the platform -std default."
Elliott Hughes [Fri, 7 Oct 2016 22:19:02 +0000 (15:19 -0700)]
Rely on the platform -std default.
Bug: http://b/
32019064
Test: builds
Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220
Treehugger Robot [Fri, 7 Oct 2016 03:08:51 +0000 (03:08 +0000)]
Merge "Fix ext4_util logging"
Wei Wang [Thu, 6 Oct 2016 22:57:59 +0000 (15:57 -0700)]
Fix ext4_util logging
Init moved to base logging and current implementation will messed up the
init process logging
Bug:
31965943
Test: take the log after CL
Change-Id: I8823aa17d9dce082360261537d87ac15389d6ad8
Treehugger Robot [Thu, 6 Oct 2016 19:32:37 +0000 (19:32 +0000)]
Merge "simpleperf: add perf counter into trace"
Wei Wang [Thu, 29 Sep 2016 23:34:15 +0000 (16:34 -0700)]
simpleperf: add perf counter into trace
Bug: http://b/
31840600
Test: captured systrace with simpleperf stat
Change-Id: I14447d048ea8d059a377c6f0d7cfc10041a98693
Treehugger Robot [Wed, 5 Oct 2016 20:56:57 +0000 (20:56 +0000)]
Merge "Test for _WIN32 in system/extras instead of USE_MINGW."
Elliott Hughes [Wed, 5 Oct 2016 16:44:48 +0000 (09:44 -0700)]
Test for _WIN32 in system/extras instead of USE_MINGW.
Bug: http://b/
23392815
Test: builds
Change-Id: Ide007c7ac8414a82548cc99fe384c7de9ba7494b
Treehugger Robot [Wed, 5 Oct 2016 03:55:32 +0000 (03:55 +0000)]
Merge "Simpleperf: don't expose EventSelection."
Wei Wang [Tue, 4 Oct 2016 21:52:54 +0000 (21:52 +0000)]
Merge "Include custom partitions in dumpcache tool"
Treehugger Robot [Sat, 1 Oct 2016 16:23:54 +0000 (16:23 +0000)]
Merge "Remove LOCAL_CTS_GTEST_LIST_EXECUTABLE"
Dan Willemsen [Fri, 30 Sep 2016 05:40:10 +0000 (22:40 -0700)]
Remove LOCAL_CTS_GTEST_LIST_EXECUTABLE
The one user has been removed, this is no longer necessary.
Test: None
Change-Id: I387bca94f5b8b719bd75154d996bf64a487a57be
Colin Cross [Fri, 30 Sep 2016 01:02:53 +0000 (01:02 +0000)]
Merge "Revert "ext4_utils: -Werror""
Colin Cross [Fri, 30 Sep 2016 01:01:50 +0000 (01:01 +0000)]
Revert "ext4_utils: -Werror"
This reverts commit
f55303f4a4a4319e90e671b50a4dcdd131781f35.
Change-Id: I63b6c158536871534cfee9b3fbe416f121d7b75a
Treehugger Robot [Fri, 30 Sep 2016 00:02:50 +0000 (00:02 +0000)]
Merge changes I8405c4fe,I52e6143d
* changes:
perfprofd: build error
ext4_utils: -Werror
Wei Wang [Mon, 26 Sep 2016 23:47:49 +0000 (16:47 -0700)]
Include custom partitions in dumpcache tool
Currently dumpcache use whitelist to include only standard partitions
and also print duplicated entries with symbolic link which makes the
total summary inaccurate.
This patch use blacklist "rootfs/devfs/tmpfs/procfs" to support more
partitions and skip symbolic links.
Test: manual - took a dumpcache
Bug:
31756965
Change-Id: I6038de9a2f3be11179cb30b4c4c6d2e7cd43aaa6
Treehugger Robot [Thu, 29 Sep 2016 23:06:05 +0000 (23:06 +0000)]
Merge changes Ic93ac4e9,I68a85138
* changes:
qtaguid replace asprintf with libbase StringPrintf
qtaguid: test: fix issue with buffer overflow
Treehugger Robot [Thu, 29 Sep 2016 22:55:47 +0000 (22:55 +0000)]
Merge "simpleperf: add interval to stat print"
Yabin Cui [Thu, 29 Sep 2016 22:32:45 +0000 (15:32 -0700)]
Simpleperf: don't expose EventSelection.
And some tiny improvements.
Bug: http://b/
30974760
Test: run simpleperf_unit_test.
Change-Id: Ie2d46c8ab9ee763d107527c9a54590f845569da4
Wei Wang [Wed, 28 Sep 2016 21:42:02 +0000 (14:42 -0700)]
simpleperf: add interval to stat print
Add a stat interval printing
Bug: http://b/
31806433
Test: simpleperf_unit_test --gtest_filter=stat_cmd.interval_option
Change-Id: Ia2881d990036cc099baccb8a2d8cd3828877a910
(cherry picked from commit
e6d8a52400fe710b743ce57b89bd015ab219434b)
Mark Salyzyn [Thu, 29 Sep 2016 17:44:36 +0000 (10:44 -0700)]
perfprofd: build error
Must define LOG_TAG before including android/log.h
Test: build success
Bug:
26552300
Bug:
31289077
Change-Id: I8405c4fe21984aa1d339c6e7e452e70a43324c8b
Mark Salyzyn [Fri, 13 May 2016 21:28:32 +0000 (14:28 -0700)]
ext4_utils: -Werror
Correct a few compiler warnings
Test: build success
Bug:
26552300
Bug:
31289077
Change-Id: I52e6143df465c02b94fe89c80b1712706da1ab7c
Chenbo Feng [Thu, 29 Sep 2016 00:03:31 +0000 (17:03 -0700)]
qtaguid replace asprintf with libbase StringPrintf
use libbase function android::base::StringPrintf for string
manipulation. Avoid free the char array at the end. Changed the program
logic of building the match template to make it more concise.
Test: manually tested on angler device. build and sync this module into
device and run adb shell ./data/nativetest64/socketTag/socketTag
Change-Id: Ic93ac4e91e87337acb2e12efadeb57833c36c95e
Chenbo Feng [Wed, 28 Sep 2016 17:01:42 +0000 (10:01 -0700)]
qtaguid: test: fix issue with buffer overflow
Fixed the bug that test program cannot read socket addr directly from
ctrl file, changed the implementation of read ctrl file to prevent
possible fails when the ctrl file size is greater then the read buffer
size.
Test: manually tested on angler device. build and sync this module into
device and run adb shell ./data/nativetest64/socketTag/socketTag
Change-Id: I68a8513814a97d9417e13ad320a079510591d3a2
Dimitry Ivanov [Wed, 28 Sep 2016 18:56:07 +0000 (18:56 +0000)]
Merge "Add missing liblog dependency"
Dimitry Ivanov [Tue, 27 Sep 2016 16:22:50 +0000 (09:22 -0700)]
Add missing liblog dependency
Bug: http://b/
31289077
Bug: http://b/
27171986
Test: remove liblog from libcutils and recompile
Change-Id: Ibf5b6a978a424107ad1364e35c9bb856d8bde92f
Than McIntosh [Tue, 27 Sep 2016 02:18:56 +0000 (02:18 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes."
Alexey Alexandrov [Sun, 25 Sep 2016 00:05:28 +0000 (17:05 -0700)]
Stop coalescing kernel processes to the same name, other changes.
* Do not coalesce kernel processes to the same name as knowing the
breakdown of kernel cycles by the name of kernel or user process is
useful.
* Make the perfprofd tests run well in 64-bit mode.
* Add debugging "-x PATH" flag to perfprofd which can be used to convert
the given perf data file to the encoded proto format and immediately
exit.
Test: 32-bit and 64-bit perfprofd_test on the device
Change-Id: Iec35190db995243eed253045605f8807bc0bddee
Treehugger Robot [Wed, 21 Sep 2016 22:46:04 +0000 (22:46 +0000)]
Merge "Add missing include."
Dan Albert [Wed, 21 Sep 2016 21:06:39 +0000 (14:06 -0700)]
Add missing include.
Test: mm
Bug: None
Change-Id: Iffdcdc12aa95b090e26afbbacb22d91e4fdd52ea
David Zeuthen [Fri, 16 Sep 2016 22:35:50 +0000 (22:35 +0000)]
Merge "avb: move to external/avb."
Treehugger Robot [Fri, 16 Sep 2016 21:27:39 +0000 (21:27 +0000)]
Merge "simpleperf: calculate perf clock based on system clock."
David Zeuthen [Fri, 16 Sep 2016 20:21:13 +0000 (16:21 -0400)]
avb: move to external/avb.
This code is now in external/avb so remove it here.
BUG=
31508897
TEST=Build succeeds.
Change-Id: I5d934918885e979a4615745890a05f75732ba027
Yabin Cui [Thu, 15 Sep 2016 17:43:20 +0000 (10:43 -0700)]
simpleperf: calculate perf clock based on system clock.
The timestamps of perf event records are not generated
by MONOTONIC system clock. However, we can calculate
perf clock based on MONOTONIC system clock.
See http://www.gossamer-threads.com/lists/linux/kernel/
1970811
Bug: http://b/
30975131
Test: run `simpleperf record -a --log verbose ls` and check the result.
Change-Id: I78ef28b501aa45a4696c05ec76f6d04363082c5d
Treehugger Robot [Thu, 15 Sep 2016 23:37:06 +0000 (23:37 +0000)]
Merge "libpagemap: add static library for pagemap"
Dimitry Ivanov [Thu, 15 Sep 2016 22:01:59 +0000 (15:01 -0700)]
libpagemap: add static library for pagemap
Bionic unit/cts tests need use static version of libpagemap
to avoid depending on internal android library.
Test: mm && run pagemap_static_test
Bug: http://b/
22182538
Change-Id: Ic8b4e74565f77a71540e8cb2c7f9dc67f8d5e10c
David Zeuthen [Tue, 6 Sep 2016 17:53:48 +0000 (17:53 +0000)]
Merge "avb: Add support for sparse image files."
Treehugger Robot [Sat, 3 Sep 2016 03:06:05 +0000 (03:06 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf."
Elliott Hughes [Fri, 2 Sep 2016 20:26:14 +0000 (13:26 -0700)]
Use android::base::GetExecutablePath in simpleperf.
Bug: http://b/
30988271
Change-Id: Ide5f1696834cfa1081e86131e24499bd15131cd6
Treehugger Robot [Fri, 2 Sep 2016 18:13:32 +0000 (18:13 +0000)]
Merge "fec: add --padding"
Treehugger Robot [Fri, 2 Sep 2016 18:13:32 +0000 (18:13 +0000)]
Merge "libfec: allow fec_header to be located anywhere"
Yabin Cui [Fri, 2 Sep 2016 17:18:15 +0000 (17:18 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up."
David Zeuthen [Mon, 22 Aug 2016 19:20:43 +0000 (15:20 -0400)]
avb: Add support for sparse image files.
By default the build system uses sparse images for system.img so support
this in avbtool. Part of this code is derived from simg_dump.py in
system/core/libsparse.
BUG=
31263798
TEST=New unit tests and unit tests pass.
Change-Id: Iace73c994102a51c59e82ce208ee8438155c50e1
Sami Tolvanen [Thu, 1 Sep 2016 22:51:12 +0000 (15:51 -0700)]
libfec: allow fec_header to be located anywhere
Don't require fec_header to be immediately after ECC data.
Bug:
28865197
Change-Id: Ie8faeeb07c35e2593553f7678762aae7f14c2ff7
Treehugger Robot [Thu, 1 Sep 2016 22:47:01 +0000 (22:47 +0000)]
Merge changes Ic9258141,If4b32546
* changes:
fec: remove unneeded target executable
fec: remove unused mmap code
Sami Tolvanen [Thu, 1 Sep 2016 21:54:09 +0000 (14:54 -0700)]
fec: add --padding
Add an option to insert padding between ECC data and fec_header to
make it easier to position the header at the end of the partition.
Bug:
28865197
Change-Id: I8c11401df56d15362fe3eb3c2a6a91ea82b02a83
Sami Tolvanen [Thu, 1 Sep 2016 20:43:51 +0000 (13:43 -0700)]
fec: remove unneeded target executable
Change-Id: Ic925814191b8ac952b584a994cf455f871a8ee0c
Sami Tolvanen [Thu, 1 Sep 2016 20:35:17 +0000 (13:35 -0700)]
fec: remove unused mmap code
Change-Id: If4b32546c6678afaaebffbcf1fbeee17a1879561
Yabin Cui [Wed, 31 Aug 2016 19:14:52 +0000 (19:14 +0000)]
Merge "simpleperf: add python report interface on linux."
Yabin Cui [Wed, 31 Aug 2016 01:23:33 +0000 (01:23 +0000)]
Merge "simpleperf: fix two errors."
Yabin Cui [Fri, 26 Aug 2016 18:35:28 +0000 (11:35 -0700)]
simpleperf: add python report interface on linux.
1. Build libsimpleperf_report.so on host, which exports functions
to access samples.
2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so.
3. Write report_sample.py to test simpleperf_report_lib.py. The
output format of report_sample.py matches the need of building
FlameGraph.
Bug: http://b/
31069528
Test: run report_sample.py on perf.data.
Test: run simpleperf_unit_test.
Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853
Daniel Rosenberg [Tue, 30 Aug 2016 20:41:41 +0000 (20:41 +0000)]
Merge "Test: Basic bootloader tests via fastboot"
am:
cbbc907a4d
Change-Id: I644f3d99f55fe84da2d517c3e5e6bae439a35a12
Daniel Rosenberg [Tue, 30 Aug 2016 20:35:22 +0000 (20:35 +0000)]
Merge "Test: Basic bootloader tests via fastboot"
Yabin Cui [Tue, 30 Aug 2016 20:13:17 +0000 (13:13 -0700)]
simpleperf: fix two errors.
Fix two errors when reporting perf.data generated by linux perf.
And add corresponding tests.
Test: run simpleperf_unit_test.
Change-Id: I04dd88461fdd6a85763847570bac16db1ccb81fa
Mitchell Wills [Mon, 29 Aug 2016 20:02:48 +0000 (20:02 +0000)]
Merge "Remove ancient wifi stress test" into stage-aosp-master
Yabin Cui [Mon, 29 Aug 2016 19:33:17 +0000 (12:33 -0700)]
simpleperf: handle monitored processes correctly when a cpu is up.
For stat/record cmd, the way to handle -p option is to change the
process list into a thread list before profiling. However, it doesn't
work well if we want to open new event files when a cpu is up. The
situation in problem is as below:
1. Monitor for process A, which currently has thread a.
2. Then we open event files for thread a.
3. Process A creates thread b. If profiling child threads/processes
is enabled, the kernel will monitor thread b automatically.
4. A new cpu is up, and we need to open new event files on that
cpu. But we will only open event file for thread a, although the
user command is to monitor the whole process.
To fix this, remember which processes are monitored in
EventSelectionSet, and search threads in the monitored processes
each time to open new event files.
Bug: http://b/
29245608
Test: run simpleperf record cmd and make cpu offline and online.
Test: run simpleperf_unit_test.
Change-Id: Iabf9e30be9f0bc5a3651227e4695034c0b9e0258
Yabin Cui [Sat, 27 Aug 2016 19:04:05 +0000 (19:04 +0000)]
Merge "simpleperf: support hotplug events in record cmd."
am:
728c8de11d
Change-Id: Id5719e1c027d0c9fb09b789d5aab48167fb1bf3a
Treehugger Robot [Sat, 27 Aug 2016 18:59:00 +0000 (18:59 +0000)]
Merge "simpleperf: support hotplug events in record cmd."
Yabin Cui [Sat, 27 Aug 2016 01:25:21 +0000 (18:25 -0700)]
simpleperf: support hotplug events in record cmd.
1. When a cpu is down, read records from event files on that cpu,
then close those event files.
2. When a cpu is up, open event files on that cpu, and create
mapped buffer for those event files to dump records.
3. Instead of creating a mapped buffer for each event type on each
cpu, we can just create a mapped buffer for all event types on
each cpu.
4. When new event files are created, store a EventIdRecord record in
perf.data to notify record_file_reader.cpp.
Bug: http://b/
29245608
Test: run simpleperf record cmd and make cpu offline and online.
Test: run simpleperf_unit_test.
Change-Id: Ib97a24b6292fa143e9b35cb105bdddf1e826d60a
Christopher Wiley [Wed, 15 Jun 2016 20:37:58 +0000 (13:37 -0700)]
Remove ancient wifi stress test
Bug:
29321445
Change-Id: Ib6797def04d69f20ea4e856d4005c57b5ec6ac42
(cherry picked from commit
3defd8f2199234c5a7a6092fba320f143caf3622)
Colin Cross [Fri, 26 Aug 2016 20:25:37 +0000 (20:25 +0000)]
Merge "Replace libziparchive-host with libziparchive"
am:
b5a1a4a772
Change-Id: Ic4b372e601b2e66aef25c3c2b536fce86547657c
Colin Cross [Fri, 26 Aug 2016 20:18:54 +0000 (20:18 +0000)]
Merge "Replace libziparchive-host with libziparchive"
Colin Cross [Fri, 26 Aug 2016 18:16:28 +0000 (11:16 -0700)]
Replace libziparchive-host with libziparchive
libziparchive-host is no longer necessary, and mixing libziparchive-host
and libziparchive can cause ODR violations.
Change-Id: I018d3726e6ab099a86a3ea662ab6d52509218510
Yabin Cui [Fri, 26 Aug 2016 17:16:10 +0000 (17:16 +0000)]
Merge "simpleperf: support hotplug events in stat cmd."
am:
c3ead4eb80
Change-Id: Ibb93a0572bdd79c75e4e40a35f8699f1f69498ca
Treehugger Robot [Fri, 26 Aug 2016 17:07:21 +0000 (17:07 +0000)]
Merge "simpleperf: support hotplug events in stat cmd."
Yabin Cui [Thu, 25 Aug 2016 02:32:55 +0000 (19:32 -0700)]
simpleperf: support hotplug events in stat cmd.
1. When a cpu is down, read counters from event files on that cpu,
then close those events files.
2. When a cpu is up, open event files on that cpu.
3. Remove check of time_running != 0 in cmd_stat.cpp, because
1) We no longer need the check as we no longer open event file
for each cpu for non system wide profiling.
2) The kernel has a bug that can make time_running == 0 if
a cpu is down while profiling. But the counter value is
still valid, and shouldn't be ignored.
Bug: http://b/
29245608
Test: run simpleperf and make cpu offline and online.
Change-Id: I3e7bec139c5f50bea1311c95bb154a5b290a72ea
Yabin Cui [Thu, 25 Aug 2016 19:10:30 +0000 (19:10 +0000)]
Merge "simpleperf: print file path used for reading symbols."
am:
4a35dafc21
Change-Id: I5a2751fbb762f98f9ef1050372a2c5e506e2c76d
Treehugger Robot [Thu, 25 Aug 2016 19:00:47 +0000 (19:00 +0000)]
Merge "simpleperf: print file path used for reading symbols."
Yabin Cui [Thu, 25 Aug 2016 17:46:40 +0000 (10:46 -0700)]
simpleperf: print file path used for reading symbols.
It helps users to find out which files are used for
reporting.
Bug: http://b/
29574526
Change-Id: I3d608e61c50471632c50bf6e8f6f9e45c63fc4b4
Test: run `simpleperf report --log verbose` manually.
Alex Deymo [Thu, 25 Aug 2016 01:33:24 +0000 (01:33 +0000)]
Merge "Don't include multinetwork tools in Brillo."
am:
db7a1c571a
Change-Id: I27b4a11bcdf4c578f908ffa4ca7c5a9d2599b547
Alex Deymo [Thu, 25 Aug 2016 01:28:42 +0000 (01:28 +0000)]
Merge "Don't include multinetwork tools in Brillo."
Yabin Cui [Wed, 24 Aug 2016 23:46:35 +0000 (23:46 +0000)]
Merge "simpleperf: improve cpu_hotplug_test."
am:
a903cc9b9c
Change-Id: I53f788aa6100b0eb6917920334efa624af14e77f
Alex Deymo [Wed, 24 Aug 2016 23:42:11 +0000 (16:42 -0700)]
Don't include multinetwork tools in Brillo.
These tools depend on libandroid, which is not present in Brillo.
Bug:
31068444
Change-Id: I0565775ab3effa910149f28bef790b6fed4e6485
Test: `make dist`
Treehugger Robot [Wed, 24 Aug 2016 23:36:28 +0000 (23:36 +0000)]
Merge "simpleperf: improve cpu_hotplug_test."
Yabin Cui [Thu, 18 Aug 2016 00:34:26 +0000 (17:34 -0700)]
simpleperf: improve cpu_hotplug_test.
1. Add offline_while_user_process_profiling test for
http://b/
28086229.
2. Add options to adjust test duration and cpu hotplug
interval.
3. Report test time periodically for tests running for
a long time.
Bug: http://b/
25193162
Bug: http://b/
28086229
Bug: http://b/
30839193
Change-Id: If02a45aed2dab718ca381b24da2898f22fed1a8d
Bill Yi [Wed, 24 Aug 2016 20:16:27 +0000 (20:16 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am:
4d269c7593
Change-Id: I7a58fdbab63c1c4cd11973d49278571db0c50fde
Yabin Cui [Wed, 24 Aug 2016 20:16:24 +0000 (20:16 +0000)]
Merge "simpleperf: notify user for unsupported modifiers."
am:
43908a31c1
Change-Id: I4f53fa84ea663a4090a99f2261f153faf8f0b8fb
Bill Yi [Wed, 24 Aug 2016 19:08:29 +0000 (12:08 -0700)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Yabin Cui [Wed, 24 Aug 2016 18:54:10 +0000 (18:54 +0000)]
Merge "simpleperf: notify user for unsupported modifiers."
Yabin Cui [Wed, 24 Aug 2016 16:55:23 +0000 (16:55 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd."
am:
ef99a90b46
Change-Id: I7c89d8155b9ade3c288d92d496ec9fc84be648b6
Yabin Cui [Fri, 19 Aug 2016 22:42:39 +0000 (15:42 -0700)]
simpleperf: notify user for unsupported modifiers.
If there is no need to record samples, u/k modifiers
used in event cpu-clock and task-clock are ignored
by the kernel.
Bug: http://b/
29574526
Change-Id: Id45568448888965a3bfa382c4420e395a741f77a
Test: simpleperf_unit_test.
Treehugger Robot [Wed, 24 Aug 2016 16:38:03 +0000 (16:38 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd."
Elliott Hughes [Wed, 24 Aug 2016 03:13:54 +0000 (03:13 +0000)]
Merge "Don't invent our own pagemap constants."
am:
5079d0aabc
Change-Id: Ica4813dcf76197b8866307c7c0ba5fc4a56fd6e3
Treehugger Robot [Wed, 24 Aug 2016 03:05:17 +0000 (03:05 +0000)]
Merge "Don't invent our own pagemap constants."
Elliott Hughes [Wed, 24 Aug 2016 00:47:49 +0000 (17:47 -0700)]
Don't invent our own pagemap constants.
Use the uapi ones instead, so I don't have to think about whether ours
are correct.
Bug: http://b/
31044648
Change-Id: Ibe4a078ad3223419301a5f585e8ed24dd7366ce2
Yabin Cui [Tue, 23 Aug 2016 22:26:57 +0000 (22:26 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information."
am:
84ea73e65c
Change-Id: I7f7aa533eb8f4d0d224981f2b2865ee45e0d718f
Treehugger Robot [Tue, 23 Aug 2016 22:17:15 +0000 (22:17 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information."
Yabin Cui [Tue, 23 Aug 2016 20:18:47 +0000 (13:18 -0700)]
simpleperf: omit samples get while dumping thread map information.
Bug: http://b/
31039737
Change-Id: Ia65c61b874a2f60d7022be3ef0774f5fc6b09d7c
Test: test manually as described in the bug.
Yabin Cui [Mon, 22 Aug 2016 23:06:27 +0000 (23:06 +0000)]
Merge "simpleperf: avoid selinux denials."
am:
23a73bf538
Change-Id: Ia5b6064a5f3936f739480221a9603b66b744ed6f
Treehugger Robot [Mon, 22 Aug 2016 22:55:25 +0000 (22:55 +0000)]
Merge "simpleperf: avoid selinux denials."
Yabin Cui [Mon, 22 Aug 2016 20:39:19 +0000 (13:39 -0700)]
simpleperf: avoid selinux denials.
1. Don't stat() entries in /proc directory if not necessary.
2. Don't read tracing events in debugfs if not root.
Bug: http://b/
30981595
Change-Id: Ic695671357dad936d60f4e6d573ce4452dec217c
Test: run `simpleperf list` and check kmsg.
Yabin Cui [Sat, 20 Aug 2016 00:24:37 +0000 (17:24 -0700)]
simpleperf: monitor cpu hotplug in stat cmd.
Move code used to monitor cpu hotplug events
from cmd_record.cpp to event_selection_set.cpp,
so it can also be used by stat cmd.
Bug: http://b/
29245608
Change-Id: I1f5f3268192aa5c98c0be9fc1de763352c08eab6
Test: run simpleperf stat, and online/offline a cpu.
Colin Cross [Wed, 17 Aug 2016 18:18:49 +0000 (18:18 +0000)]
Merge "Build icache for arm on arm64"
am:
cb0112fe64
Change-Id: I5554ac7aaf799dda68731802bd8668b3db5bbfb5
Chih-hung Hsieh [Wed, 17 Aug 2016 17:47:58 +0000 (17:47 +0000)]
Merge "Fix google-explicit-constructor warnings in ext4_utils."
am:
e2d0366442 -s ours
Change-Id: Ic9f51fa2ad2f69004afc51fb31a75aa910697b0c
Colin Cross [Wed, 17 Aug 2016 00:08:03 +0000 (00:08 +0000)]
Merge "Build icache for arm on arm64"
Colin Cross [Tue, 16 Aug 2016 22:23:45 +0000 (15:23 -0700)]
Build icache for arm on arm64
Change-Id: Iac9511f7d943fde9e00d21d46ca32f186d4d5673