OSDN Git Service
Yabin Cui [Sat, 6 Aug 2016 00:00:16 +0000 (00:00 +0000)]
Merge "simpleperf: fix record file writer." am:
4c54842292 am:
f33ea38bf2 am:
3f4bb10df8
am:
00e89eb437
Change-Id: I85847827e237b5649003ce1b29b88b24168edcde
Yabin Cui [Fri, 5 Aug 2016 23:54:50 +0000 (23:54 +0000)]
Merge "simpleperf: fix record file writer." am:
4c54842292 am:
f33ea38bf2
am:
3f4bb10df8
Change-Id: I58b6fb3b5095d6d0a725f8334e84d96cb62180fd
Yabin Cui [Fri, 5 Aug 2016 23:51:45 +0000 (23:51 +0000)]
Merge "simpleperf: fix record file writer." am:
4c54842292
am:
f33ea38bf2
Change-Id: I5d4f25b6f0b70491d6e7381ac140ce0744bfde8c
Yabin Cui [Fri, 5 Aug 2016 23:48:20 +0000 (23:48 +0000)]
Merge "simpleperf: fix record file writer."
am:
4c54842292
Change-Id: Id7e992b40120f0ca2f9763b38ca0a18fbb6786a2
Treehugger Robot [Fri, 5 Aug 2016 23:43:31 +0000 (23:43 +0000)]
Merge "simpleperf: fix record file writer."
Yabin Cui [Fri, 5 Aug 2016 23:42:19 +0000 (23:42 +0000)]
Merge "simpleperf: allow --duration option when executing child command." am:
4b97e8e71f am:
bf3cd37e34 am:
3e49c11b59
am:
dbcf435e20
Change-Id: If39aede0cfe8f8fb9eac2c33be3747214d3924c3
Yabin Cui [Fri, 5 Aug 2016 23:31:27 +0000 (23:31 +0000)]
Merge "simpleperf: allow --duration option when executing child command." am:
4b97e8e71f am:
bf3cd37e34
am:
3e49c11b59
Change-Id: I1e42bb09bd9eb21ff7b36e3059b5cc4908cd8b14
Yabin Cui [Fri, 5 Aug 2016 23:28:18 +0000 (23:28 +0000)]
Merge "simpleperf: allow --duration option when executing child command." am:
4b97e8e71f
am:
bf3cd37e34
Change-Id: I77ed25e47f6dc3d3e0d366f30aa1db0040727382
Yabin Cui [Fri, 5 Aug 2016 23:25:30 +0000 (23:25 +0000)]
Merge "simpleperf: allow --duration option when executing child command."
am:
4b97e8e71f
Change-Id: I98f11a1fa3bab4c1754e76fc0d82b39a5225205b
Yabin Cui [Fri, 5 Aug 2016 22:31:33 +0000 (15:31 -0700)]
simpleperf: fix record file writer.
When running `run-as [package_name] ./simpleperf record...` on device,
simpleperf doesn't have permission to create temporary file in
/data/local/tmp. So create temporary files in the same directory
as perf.data instead.
Bug: http://b/
30649868
Change-Id: I48178d4eb421be8d8636721ac3b29b98fa673b5d
Test: run simpleperf_unit_test.
Treehugger Robot [Fri, 5 Aug 2016 22:48:05 +0000 (22:48 +0000)]
Merge "simpleperf: allow --duration option when executing child command."
Yabin Cui [Fri, 5 Aug 2016 21:50:37 +0000 (14:50 -0700)]
simpleperf: allow --duration option when executing child command.
Previously --duration option can't be used while executing child
command, mainly because we use `sleep XX` child command to implement
--duration option. By using libevent, the limit doesn't exist.
Bug: http://b/
30405638
Change-Id: Iea1953ecf3aca48e75fb74f048ed04ad5b168630
Test: run simpleperf_unit_test.
Yabin Cui [Fri, 5 Aug 2016 21:46:42 +0000 (21:46 +0000)]
Merge "simpleperf: remove cpu option tests." am:
9ec492a979 am:
768751400d am:
fb4182f3c8
am:
06c44e896c
Change-Id: I7609d893238f43c5a28b49392333cc8249d818eb
Yabin Cui [Fri, 5 Aug 2016 21:46:42 +0000 (21:46 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording." am:
4640256028 am:
0c70b9c404 am:
936870a962
am:
4873bece07
Change-Id: I6d9518e1de8bc64e60cfbd35d08c2ad949b97b63
Yabin Cui [Fri, 5 Aug 2016 21:43:42 +0000 (21:43 +0000)]
Merge "simpleperf: remove cpu option tests." am:
9ec492a979 am:
768751400d
am:
fb4182f3c8
Change-Id: Id9c8cc8c15ac1524d52d2d2713c01184efba5b3c
Yabin Cui [Fri, 5 Aug 2016 21:43:42 +0000 (21:43 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording." am:
4640256028 am:
0c70b9c404
am:
936870a962
Change-Id: I38c74675cade62c38bf36c66234115be8af271b4
Yabin Cui [Fri, 5 Aug 2016 21:41:13 +0000 (21:41 +0000)]
Merge "simpleperf: remove cpu option tests." am:
9ec492a979
am:
768751400d
Change-Id: I94e2a2d98509932928a8f41c2379821a4032d54b
Yabin Cui [Fri, 5 Aug 2016 21:41:12 +0000 (21:41 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording." am:
4640256028
am:
0c70b9c404
Change-Id: I8328e12896e8a5742ceedecb5a9437e914c00099
Yabin Cui [Fri, 5 Aug 2016 21:38:26 +0000 (21:38 +0000)]
Merge "simpleperf: remove cpu option tests."
am:
9ec492a979
Change-Id: I9ed4fc32a7ba7030c48d4d5b7d7a905caed01e6d
Yabin Cui [Fri, 5 Aug 2016 21:38:25 +0000 (21:38 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording."
am:
4640256028
Change-Id: I55f89fb43605143e8c2f2d1931a40b4a495d1ad6
Treehugger Robot [Fri, 5 Aug 2016 21:35:49 +0000 (21:35 +0000)]
Merge "simpleperf: remove cpu option tests."
Treehugger Robot [Fri, 5 Aug 2016 21:31:29 +0000 (21:31 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording."
Yabin Cui [Fri, 5 Aug 2016 20:54:42 +0000 (20:54 +0000)]
Merge "simpleperf: fix arm unwinding." am:
96bf860b97 am:
1f8b56c75a am:
194863e4f5
am:
3a934b06f6
Change-Id: I1abe5add270d692c013d5027bd1839f23c5c7398
Yabin Cui [Fri, 5 Aug 2016 19:11:26 +0000 (12:11 -0700)]
simpleperf: remove cpu option tests.
The cpu option tests are flaky because Cpu 0 can be offlined.
Bug: http://b/
30389972
Change-Id: Ie9f57dcde957be245167c957eb029ab37496471e
Test: run simpleperf cts test.
Yabin Cui [Fri, 5 Aug 2016 20:44:39 +0000 (20:44 +0000)]
Merge "simpleperf: fix arm unwinding." am:
96bf860b97 am:
1f8b56c75a
am:
194863e4f5
Change-Id: I9a8db25aa30074b1e0348cecc8b16b0417906408
Yabin Cui [Fri, 5 Aug 2016 20:41:08 +0000 (20:41 +0000)]
Merge "simpleperf: fix arm unwinding." am:
96bf860b97
am:
1f8b56c75a
Change-Id: Ie3f841bf8b34107e9667bc09a52ad1918ccd2e5a
Yabin Cui [Fri, 5 Aug 2016 20:37:44 +0000 (20:37 +0000)]
Merge "simpleperf: fix arm unwinding."
am:
96bf860b97
Change-Id: Ia652107bc88d04012d3d16bc146ff98bc3bc15cf
Yabin Cui [Fri, 5 Aug 2016 20:32:34 +0000 (20:32 +0000)]
Merge "simpleperf: fix arm unwinding."
Yabin Cui [Fri, 5 Aug 2016 18:27:42 +0000 (11:27 -0700)]
simpleperf: fix arm unwinding.
Change-Id: Ie611504a7e5062c25466b59ebdcf8c33b51bf90c
Test: run simpleperf_unit_test.
Yabin Cui [Thu, 4 Aug 2016 21:47:50 +0000 (14:47 -0700)]
simpleperf: reduce Record construction overhead while recording.
Avoid binary allocation and memory copy in ReadRecordsFromBuffer(),
thus reduce Record construction overhead in
EventSelectionSet::ReadMmapEventDataForFd().
Remove RecordCache used while recording. Replace it with
RecordFileWriter::SortDataSection(). For unwinding while
recording, use low watermark to make records almost sorted
when dumped from the kernel.
Bug:
30649868
Test: run simpleperf_unit_test.
Change-Id: Ie5fb942046900a5960b3c990cf4177c026eaadfb
Yabin Cui [Thu, 4 Aug 2016 22:18:06 +0000 (22:18 +0000)]
Merge "simpleperf: fix runtest." am:
2b29c4cea0 am:
3b7f9eac6f am:
a402822d94
am:
05c7b60c62
Change-Id: I1ff580958db07ec02c0b98100ac8eabc5418c679
Yabin Cui [Thu, 4 Aug 2016 22:18:05 +0000 (22:18 +0000)]
Merge "simpleperf: keep binary in class Record." am:
39141ecfa0 am:
75051eada9 am:
7450ac20e7
am:
fa1e3b399f
Change-Id: I7f165aa9488418fbcb1619ab3b04579184925f96
Yabin Cui [Thu, 4 Aug 2016 22:09:31 +0000 (22:09 +0000)]
Merge "simpleperf: fix runtest." am:
2b29c4cea0 am:
3b7f9eac6f
am:
a402822d94
Change-Id: Idf498df745288cf286e1e2c35b4e9cf711a66898
Yabin Cui [Thu, 4 Aug 2016 22:09:31 +0000 (22:09 +0000)]
Merge "simpleperf: keep binary in class Record." am:
39141ecfa0 am:
75051eada9
am:
7450ac20e7
Change-Id: Ic8ae60dc6642e2777d0e90fb5b91159b0021b65a
Yabin Cui [Thu, 4 Aug 2016 22:07:02 +0000 (22:07 +0000)]
Merge "simpleperf: fix runtest." am:
2b29c4cea0
am:
3b7f9eac6f
Change-Id: I6451b822ba04cce7f28b863692cde6c7ce9b876c
Yabin Cui [Thu, 4 Aug 2016 22:07:02 +0000 (22:07 +0000)]
Merge "simpleperf: keep binary in class Record." am:
39141ecfa0
am:
75051eada9
Change-Id: Iff9a702b88bd77aa2039ba4c9154c7dd5f956b8c
Yabin Cui [Thu, 4 Aug 2016 22:04:06 +0000 (22:04 +0000)]
Merge "simpleperf: fix runtest."
am:
2b29c4cea0
Change-Id: I386f50558456212a606af8a350df9189bc8047ba
Yabin Cui [Thu, 4 Aug 2016 22:04:05 +0000 (22:04 +0000)]
Merge "simpleperf: keep binary in class Record."
am:
39141ecfa0
Change-Id: If61094b89477e3114c3b9ba54a6036d3d11b9219
Yabin Cui [Thu, 4 Aug 2016 21:46:51 +0000 (21:46 +0000)]
Merge "simpleperf: fix runtest."
Yabin Cui [Thu, 4 Aug 2016 21:46:37 +0000 (21:46 +0000)]
Merge "simpleperf: keep binary in class Record."
Yabin Cui [Thu, 4 Aug 2016 17:22:17 +0000 (10:22 -0700)]
simpleperf: keep binary in class Record.
It removes memory copy and heap allocation/deallocation in
Record::BinaryFormat(), and is a preparation to remove memory
copy and heap allocation in Record constructor.
Bug:
30649868
Test: run simpleperf_unit_test.
Change-Id: Ic8dd80e43f7b547a9beaf896d726b56aeb5d55a2
Yabin Cui [Thu, 4 Aug 2016 18:00:29 +0000 (11:00 -0700)]
simpleperf: fix runtest.
Use /data/local/tmp directory to pass runtest on non-rooted device.
Bug:
30413567
Change-Id: I730e0763b409f458390583dd894a644e9213e807
Chih-Hung Hsieh [Tue, 2 Aug 2016 21:46:54 +0000 (21:46 +0000)]
Merge "Fix clang-tidy warnings in iotop." am:
1f282c61fa am:
10f8b3cfde am:
388d5e8667
am:
cb1e3d6582
Change-Id: I94fdce8e108826155780baa4b7d0d354b9b20d98
Chih-Hung Hsieh [Tue, 2 Aug 2016 21:29:14 +0000 (21:29 +0000)]
Merge "Fix clang-tidy warnings in iotop." am:
1f282c61fa am:
10f8b3cfde
am:
388d5e8667
Change-Id: I3fa079791778953c5a072f8b86d52c034930018a
Chih-Hung Hsieh [Tue, 2 Aug 2016 21:26:43 +0000 (21:26 +0000)]
Merge "Fix clang-tidy warnings in iotop." am:
1f282c61fa
am:
10f8b3cfde
Change-Id: I7202e949f470ec51ef5e82dd7a4644e1a9cef17e
Chih-Hung Hsieh [Tue, 2 Aug 2016 21:23:45 +0000 (21:23 +0000)]
Merge "Fix clang-tidy warnings in iotop."
am:
1f282c61fa
Change-Id: Ie3440dc2e619ad4168ffe3b0c3cf1d012fba673b
Treehugger Robot [Tue, 2 Aug 2016 21:17:49 +0000 (21:17 +0000)]
Merge "Fix clang-tidy warnings in iotop."
Chih-Hung Hsieh [Tue, 2 Aug 2016 19:55:33 +0000 (19:55 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec." am:
7fc6a07696 am:
aeec80874d am:
e41dc67df0
am:
0f0962bd93
Change-Id: I96329670c0b0b28e752a7a9a956584561b2b9a0b
Chih-Hung Hsieh [Tue, 2 Aug 2016 19:43:37 +0000 (19:43 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec." am:
7fc6a07696 am:
aeec80874d
am:
e41dc67df0
Change-Id: Ib12c0e088bbaebc0c90bc7ee2fe3840bccfd4021
Chih-Hung Hsieh [Tue, 2 Aug 2016 19:40:37 +0000 (19:40 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec." am:
7fc6a07696
am:
aeec80874d
Change-Id: I7bc3f4924f67f1802a78bc17c9cae2aa7814dd93
Chih-Hung Hsieh [Tue, 2 Aug 2016 19:38:09 +0000 (19:38 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec."
am:
7fc6a07696
Change-Id: Ifd09ebf2cce7e27f3261892b44c5c983b36b2fcc
Treehugger Robot [Tue, 2 Aug 2016 19:33:02 +0000 (19:33 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec."
Chih-Hung Hsieh [Tue, 2 Aug 2016 18:19:23 +0000 (11:19 -0700)]
Fix clang-tidy warnings in iotop.
* Declare explicit conversion constructors.
* Use const reference type for parameter to avoid unnecessary copy.
Bug:
28341362
Bug:
30407689
Change-Id: Ia95a041125703ecbfac128709fd6ea0591df2103
Test: build with WITH_TIDY=1
Chih-Hung Hsieh [Tue, 2 Aug 2016 18:11:24 +0000 (11:11 -0700)]
Fix google-explicit-constructor warnings in libfec.
Bug:
28341362
Change-Id: Id7d9593e87fc8187942ef808f6ccf943a6ec023d
Test: build with WITH_TIDY=1
Yabin Cui [Tue, 2 Aug 2016 03:16:15 +0000 (03:16 +0000)]
Merge "simpleperf: add version." am:
52e9f95751 am:
34d1e82d0b am:
44cd5ca1e8
am:
f81e131efa
Change-Id: I99bb96fa58a7ddb30a8d993a01797ccf6d0604bb
Yabin Cui [Tue, 2 Aug 2016 03:16:14 +0000 (03:16 +0000)]
Merge "simpleperf: print warning message when failed to read symbol table from elf file." am:
966660c41b am:
657b0a3ef0 am:
5bfdd99624
am:
3c4daccc19
Change-Id: I994892474fee84f9c8b25a81e1c7985a594abd45
Yabin Cui [Tue, 2 Aug 2016 01:44:04 +0000 (01:44 +0000)]
Merge "simpleperf: add version." am:
52e9f95751 am:
34d1e82d0b
am:
44cd5ca1e8
Change-Id: I98a286f6cda6becd897bce17a5673724f6350325
Yabin Cui [Tue, 2 Aug 2016 01:41:34 +0000 (01:41 +0000)]
Merge "simpleperf: add version." am:
52e9f95751
am:
34d1e82d0b
Change-Id: Ic7c17dda22ce7fe2854cc9f466e85f8d19079024
Yabin Cui [Tue, 2 Aug 2016 01:38:36 +0000 (01:38 +0000)]
Merge "simpleperf: add version."
am:
52e9f95751
Change-Id: If15f4b3221a79021acb5c58d619c2bbebf336b96
Treehugger Robot [Tue, 2 Aug 2016 01:30:50 +0000 (01:30 +0000)]
Merge "simpleperf: add version."
Yabin Cui [Tue, 2 Aug 2016 01:28:33 +0000 (01:28 +0000)]
Merge "simpleperf: print warning message when failed to read symbol table from elf file." am:
966660c41b am:
657b0a3ef0
am:
5bfdd99624
Change-Id: I2c98ce7a3fbe048d4233a21f041327f5193f5950
Yabin Cui [Tue, 2 Aug 2016 00:44:30 +0000 (00:44 +0000)]
Merge "simpleperf: print warning message when failed to read symbol table from elf file." am:
966660c41b
am:
657b0a3ef0
Change-Id: Ie74e2f0079fb8a64277501e0f8bce309c5032cf5
Yabin Cui [Tue, 2 Aug 2016 00:42:02 +0000 (00:42 +0000)]
Merge "simpleperf: print warning message when failed to read symbol table from elf file."
am:
966660c41b
Change-Id: I771685b3473c2ae75dc7e266127146ff476773c2
Yabin Cui [Tue, 2 Aug 2016 00:36:26 +0000 (00:36 +0000)]
Merge "simpleperf: print warning message when failed to read symbol table from elf file."
Yabin Cui [Wed, 27 Jul 2016 01:42:38 +0000 (18:42 -0700)]
simpleperf: add version.
Bug: http://b/
30416563
Change-Id: I03e5dbae3f0944d7d6b73d4dfa252ad3396b83e6
Test: run `simpleperf --version`.
Yabin Cui [Fri, 29 Jul 2016 23:40:40 +0000 (16:40 -0700)]
simpleperf: print warning message when failed to read symbol table from elf file.
Change return type of read elf functions to ElfStatus, and print warning message
based on situation.
Add corresponding test.
Bug:
29193936
Change-Id: Ie449f8be34cb579962cb73f4be3df9e4997270ca
Test: run simpleperf_unit_test.
Yabin Cui [Fri, 29 Jul 2016 16:23:27 +0000 (16:23 +0000)]
Merge \\\\"simpleperf: use libevent in record command.\\\\" am:
8f5d3f48bf am:
d053fad1f9 am:
2c26ebc316
am:
07fe422e50
Change-Id: Ic8d25c4701b3ee90de034aa765ada9dc46cb6729
Yabin Cui [Fri, 29 Jul 2016 00:15:59 +0000 (00:15 +0000)]
Merge \\\"simpleperf: use libevent in record command.\\\" am:
8f5d3f48bf am:
d053fad1f9
am:
2c26ebc316
Change-Id: I34727bb82a6e39dce094a7c6ad6951d9eea2f190
Yabin Cui [Fri, 29 Jul 2016 00:12:56 +0000 (00:12 +0000)]
Merge \\"simpleperf: use libevent in record command.\\" am:
8f5d3f48bf
am:
d053fad1f9
Change-Id: I1a3c714a53df175c2dbecbf15adbf15e888cbd20
Yabin Cui [Fri, 29 Jul 2016 00:10:01 +0000 (00:10 +0000)]
Merge \"simpleperf: use libevent in record command.\"
am:
8f5d3f48bf
Change-Id: I26617da3a97fe782a47f3309217915bf8fcfab95
Yabin Cui [Thu, 28 Jul 2016 23:56:34 +0000 (23:56 +0000)]
Merge "simpleperf: use libevent in record command."
Yabin Cui [Thu, 28 Jul 2016 19:55:41 +0000 (12:55 -0700)]
simpleperf: use libevent in record command.
Support read Event in IOEventLoop, test it, and use it
in record command.
Format related code and clean up some comments.
Bug: http://b/
30405638
Change-Id: I3b07d50b0374be3f3e7ee9fa4d0c0ccc8ae21a2b
Test: run simpleperf_unit_test.
Chih-hung Hsieh [Thu, 28 Jul 2016 16:15:17 +0000 (16:15 +0000)]
Merge \\\\"Fix clang-tidy performance warnings in simpleperf.\\\\" am:
43b194dc15 am:
431d1f1748 am:
0d70ab5784
am:
80bcc7e59d
Change-Id: I0d2d80982daf39c8ed4dc75b81772fc0238819ab
Chih-Hung Hsieh [Thu, 28 Jul 2016 16:05:54 +0000 (16:05 +0000)]
Merge \\\"Fix clang-tidy performance warnings in simpleperf.\\\" am:
43b194dc15 am:
431d1f1748
am:
0d70ab5784
Change-Id: I0fb5a9f3f2520f21f4cfe4adb6cc1fe090240dd9
Chih-hung Hsieh [Thu, 28 Jul 2016 16:02:54 +0000 (16:02 +0000)]
Merge \\"Fix clang-tidy performance warnings in simpleperf.\\" am:
43b194dc15
am:
431d1f1748
Change-Id: Ic318ec8b77819751e3c72b953c1eca6cbbcf47e0
Chih-Hung Hsieh [Thu, 28 Jul 2016 15:59:56 +0000 (15:59 +0000)]
Merge \"Fix clang-tidy performance warnings in simpleperf.\"
am:
43b194dc15
Change-Id: Ie7206846246bd50fbc758e972b83596bcacb3faf
Chih-hung Hsieh [Thu, 28 Jul 2016 15:50:06 +0000 (15:50 +0000)]
Merge "Fix clang-tidy performance warnings in simpleperf."
Chih-hung Hsieh [Thu, 28 Jul 2016 06:38:57 +0000 (06:38 +0000)]
Merge \\\\"Fix clang-tidy performance warnings in perfprofd.\\\\" am:
c2643f1c69 am:
adcc021b8c am:
8d90ae96f1
am:
3b65b31a35
Change-Id: I309eea642277c66c07b8db6e1cfab256b2487b99
Chih-Hung Hsieh [Thu, 28 Jul 2016 06:30:49 +0000 (06:30 +0000)]
Merge \\\"Fix clang-tidy performance warnings in perfprofd.\\\" am:
c2643f1c69 am:
adcc021b8c
am:
8d90ae96f1
Change-Id: Ie65657038d677e471268997c96a1bfccf7b7fafe
Chih-hung Hsieh [Thu, 28 Jul 2016 06:28:03 +0000 (06:28 +0000)]
Merge \\"Fix clang-tidy performance warnings in perfprofd.\\" am:
c2643f1c69
am:
adcc021b8c
Change-Id: I36a6b4ebb9c904443765b0eb875d9ab4885ba2b5
Chih-Hung Hsieh [Thu, 28 Jul 2016 06:25:58 +0000 (06:25 +0000)]
Merge \"Fix clang-tidy performance warnings in perfprofd.\"
am:
c2643f1c69
Change-Id: I7cbd828531927d517b319ca3795eae2c3c049cc7
Fyodor Kupolov [Thu, 28 Jul 2016 02:12:39 +0000 (02:12 +0000)]
Run preloads_copy.sh as system:system am:
17985b261d am:
32fe2a12b9
am:
2f0c152e5d
Change-Id: I461be675916fd6c97661bbd68af157270f653bc3
Chih-hung Hsieh [Thu, 28 Jul 2016 01:19:16 +0000 (01:19 +0000)]
Merge "Fix clang-tidy performance warnings in perfprofd."
Fyodor Kupolov [Thu, 28 Jul 2016 01:16:57 +0000 (01:16 +0000)]
Run preloads_copy.sh as system:system am:
17985b261d
am:
32fe2a12b9
Change-Id: I591aaabf1aa126ab72c5baf50700224345501257
Fyodor Kupolov [Thu, 28 Jul 2016 01:01:24 +0000 (01:01 +0000)]
Run preloads_copy.sh as system:system
am:
17985b261d
Change-Id: Ibd98f4f6153db24e6d1b8bf7722a0d023466d875
Chih-Hung Hsieh [Wed, 27 Jul 2016 22:22:01 +0000 (15:22 -0700)]
Fix clang-tidy performance warnings in simpleperf.
* Use const reference type for parameters to avoid unnecessary copy.
* Use faster overloaded string find function.
Bug:
30407689
Bug:
30411878
Change-Id: I2dac3ab1928fd51fe03c4d7889f17f3b165918f3
Test: build with WITH_TIDY=1
Yabin Cui [Thu, 28 Jul 2016 00:28:59 +0000 (00:28 +0000)]
Merge \\\\"simpleperf: use libevent in stat command.\\\\" am:
cab924fae5 am:
5b2c208b64 am:
e2102c352b
am:
cd10d8a8f4
Change-Id: I074a0747a1c96b8c0c6c34d0f28552ed486ae04f
Yabin Cui [Thu, 28 Jul 2016 00:28:50 +0000 (00:28 +0000)]
Merge \\\\"simpleperf: report lost record situation in report-sample command.\\\\" am:
fdd7b1f5f3 am:
fb1c30d759 am:
c2f273ff6e
am:
eb84a136fd
Change-Id: I5037f87ff12f55847fc7aa51b2e9fe929aa06cec
Chih-Hung Hsieh [Thu, 28 Jul 2016 00:28:39 +0000 (00:28 +0000)]
Merge \\\\"Fix clang-tidy performance warnings in libfec.\\\\" am:
1f6947bcd9 am:
42096d2cb3 am:
3eba0fea61
am:
34eb5a2342
Change-Id: I4a315fa2cc056b19cba12bab266f77bd19ca953d
Fyodor Kupolov [Thu, 28 Jul 2016 00:28:27 +0000 (00:28 +0000)]
Optional script to copy preloads to data directory am:
9b8b12f84e am:
f1219f90fe
am:
f498bc88c9
Change-Id: I5b10bba9ee4229e669969344d3085a563c26c8c2
Yabin Cui [Thu, 28 Jul 2016 00:28:25 +0000 (00:28 +0000)]
Merge \\\\"simpleperf: fix runtest.\\\\" am:
b40840ff74 am:
4d8e77536a am:
4739f28d0f
am:
a3acd68792
Change-Id: Ibede12c2274f600bd707490da1613903324de1e1
Yabin Cui [Thu, 28 Jul 2016 00:13:04 +0000 (00:13 +0000)]
Merge \\\"simpleperf: use libevent in stat command.\\\" am:
cab924fae5 am:
5b2c208b64
am:
e2102c352b
Change-Id: I9d3abc2e132b1e6671da0d3609d02af8e640c0ee
Yabin Cui [Thu, 28 Jul 2016 00:13:03 +0000 (00:13 +0000)]
Merge \\\"simpleperf: report lost record situation in report-sample command.\\\" am:
fdd7b1f5f3 am:
fb1c30d759
am:
c2f273ff6e
Change-Id: If0a83c4e9364deeb062b67740a315d7eeb724dfd
Chih-Hung Hsieh [Thu, 28 Jul 2016 00:13:02 +0000 (00:13 +0000)]
Merge \\\"Fix clang-tidy performance warnings in libfec.\\\" am:
1f6947bcd9 am:
42096d2cb3
am:
3eba0fea61
Change-Id: I32ac8e34ffd54bb445e0d398db05757148cb529d
Yabin Cui [Wed, 27 Jul 2016 23:58:40 +0000 (23:58 +0000)]
Merge \\"simpleperf: use libevent in stat command.\\" am:
cab924fae5
am:
5b2c208b64
Change-Id: I4896d45ef8f722b255add2f19ff138b885f5e9a3
Yabin Cui [Wed, 27 Jul 2016 23:54:12 +0000 (23:54 +0000)]
Merge \"simpleperf: use libevent in stat command.\"
am:
cab924fae5
Change-Id: Id3f2e39a1aebddcdc6e548595b394d4eedcf3e0f
Yabin Cui [Wed, 27 Jul 2016 23:50:58 +0000 (23:50 +0000)]
Merge \\"simpleperf: report lost record situation in report-sample command.\\" am:
fdd7b1f5f3
am:
fb1c30d759
Change-Id: I070b0ca90dfbc46166ac92d40a0a273939769623
Yabin Cui [Wed, 27 Jul 2016 23:49:35 +0000 (23:49 +0000)]
Merge "simpleperf: use libevent in stat command."
Yabin Cui [Wed, 27 Jul 2016 23:48:28 +0000 (23:48 +0000)]
Merge \"simpleperf: report lost record situation in report-sample command.\"
am:
fdd7b1f5f3
Change-Id: Ic5af58a491b03d7800b0886a995062249a2f0b7b
Treehugger Robot [Wed, 27 Jul 2016 23:40:39 +0000 (23:40 +0000)]
Merge "simpleperf: report lost record situation in report-sample command."