OSDN Git Service
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
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."
Chih-Hung Hsieh [Wed, 27 Jul 2016 23:26:29 +0000 (23:26 +0000)]
Merge \\"Fix clang-tidy performance warnings in libfec.\\" am:
1f6947bcd9
am:
42096d2cb3
Change-Id: Iadf9ed6a3bf5b44db917a7d352e2c86e63b24d82
Chih-Hung Hsieh [Wed, 27 Jul 2016 23:23:29 +0000 (23:23 +0000)]
Merge \"Fix clang-tidy performance warnings in libfec.\"
am:
1f6947bcd9
Change-Id: I7dd8acceacec22365ffb0157704cf839771a1e18
Fyodor Kupolov [Wed, 27 Jul 2016 23:22:25 +0000 (23:22 +0000)]
Optional script to copy preloads to data directory am:
9b8b12f84e
am:
f1219f90fe
Change-Id: I8081b30f76ccac9fbd26f682364d62b41cd71983
Treehugger Robot [Wed, 27 Jul 2016 23:21:41 +0000 (23:21 +0000)]
Merge "Fix clang-tidy performance warnings in libfec."
Yabin Cui [Wed, 27 Jul 2016 23:18:25 +0000 (23:18 +0000)]
Merge \\\"simpleperf: fix runtest.\\\" am:
b40840ff74 am:
4d8e77536a
am:
4739f28d0f
Change-Id: I626e5d9ae95dc4310aca8957df1def4ce3e985c5
Yabin Cui [Wed, 27 Jul 2016 23:14:56 +0000 (23:14 +0000)]
Merge \\"simpleperf: fix runtest.\\" am:
b40840ff74
am:
4d8e77536a
Change-Id: I4547dc98fac208fd105663d6e61d7fa4ef6c4019
Yabin Cui [Wed, 27 Jul 2016 23:12:00 +0000 (23:12 +0000)]
Merge \"simpleperf: fix runtest.\"
am:
b40840ff74
Change-Id: I734ce3ec710c9e8fdf65e976893d956d4e391cb7
Treehugger Robot [Wed, 27 Jul 2016 23:03:32 +0000 (23:03 +0000)]
Merge "simpleperf: fix runtest."
Fyodor Kupolov [Wed, 27 Jul 2016 22:32:23 +0000 (22:32 +0000)]
Optional script to copy preloads to data directory
am:
9b8b12f84e
Change-Id: I417fb2c538507242cb9bfa31ed638a25c79ec81f
Chih-Hung Hsieh [Wed, 27 Jul 2016 22:06:58 +0000 (15:06 -0700)]
Fix clang-tidy performance warnings in libfec.
* Use const reference type for for-loop index variables
to avoid unnecessary copy.
Bug:
30413223
Change-Id: I9819261087a5385fe580f805be44a2407f35cdf5
Test: build with WITH_TIDY=1
Fyodor Kupolov [Wed, 27 Jul 2016 21:50:04 +0000 (14:50 -0700)]
Run preloads_copy.sh as system:system
Root is not required, and most importantly system_server won't be able delete
preloads folder during cleanup.
Bug:
30280710
Change-Id: I41890834467cc51b7b4ebd9c2918a47904f0b377
Yabin Cui [Tue, 26 Jul 2016 22:03:27 +0000 (15:03 -0700)]
simpleperf: use libevent in stat command.
Wrap libevent in IOEventLoop, use IOEventLoop in stat command.
Add corresponding tests.
Bug: http://b/
30405638
Change-Id: I78b79e0eff1365ab46dde29c2a24a2def586af79
Test: run simpleperf_unit_test.
Yabin Cui [Wed, 27 Jul 2016 02:49:15 +0000 (19:49 -0700)]
simpleperf: report lost record situation in report-sample command.
Bug: http://b/
28114205
Change-Id: I1dc1389fb62596811a27d8dab5cbd214437457ee
Test: run simpleperf_unit_test.
Yabin Cui [Tue, 26 Jul 2016 22:57:10 +0000 (15:57 -0700)]
simpleperf: fix runtest.
1. Adjust function_fork.cpp and two_functions.cpp to make functions
not combined by compiler.
2. Download simpleperf and runtest executables on device before
testing on device.
3. Find config file in the same directory as runtest.py instead of
relying that it is in current directory.
Bug: http://b/
30413567
Change-Id: I4ed9964f443c8cc75f4cb352ff1f13fb11104c89
Test: mmma system/extras/simpleperf && python system/extras/simpleperf/runtest/runtest.py
Fyodor Kupolov [Mon, 25 Jul 2016 18:55:15 +0000 (11:55 -0700)]
Optional script to copy preloads to data directory
Bug:
29940807
Change-Id: Iba4deaecb5a4055ad10b92829f37ecd3cf8a5ee0
Dan Willemsen [Sat, 23 Jul 2016 00:37:57 +0000 (00:37 +0000)]
Merge \\\"Rename lib{crypto,ssl}-host to lib{crypto,ssl}\\\" am:
5b46f5747c am:
6ddafc73dc
am:
5e75cbb9b5
Change-Id: I46de3dfc8d3a6f9f0736e580f676c8e136f2e9cb
Dan Willemsen [Sat, 23 Jul 2016 00:34:30 +0000 (00:34 +0000)]
Merge \\"Rename lib{crypto,ssl}-host to lib{crypto,ssl}\\" am:
5b46f5747c
am:
6ddafc73dc
Change-Id: Iacddc0cdf0b6d6973eb1354a06eb4adb0886906a
Dan Willemsen [Sat, 23 Jul 2016 00:29:27 +0000 (00:29 +0000)]
Merge \"Rename lib{crypto,ssl}-host to lib{crypto,ssl}\"
am:
5b46f5747c
Change-Id: I513a2be90fee7b96d1e11bb45d93fc9f315c6e63
Dan Willemsen [Sat, 23 Jul 2016 00:22:28 +0000 (00:22 +0000)]
Merge "Rename lib{crypto,ssl}-host to lib{crypto,ssl}"
Yabin Cui [Fri, 22 Jul 2016 23:04:50 +0000 (23:04 +0000)]
Merge \\\"simplperf: improve unknown symbol print in report-sample command.\\\" am:
7682f60edc am:
ad6f8e8317
am:
13820aeab7
Change-Id: I94fa96bfe7ec156d3e016dd35f5a7abb250b4dad
Yabin Cui [Fri, 22 Jul 2016 23:01:50 +0000 (23:01 +0000)]
Merge \\"simplperf: improve unknown symbol print in report-sample command.\\" am:
7682f60edc
am:
ad6f8e8317
Change-Id: I1b622c74df4593292e74bc7b813a35532654fb48
Yabin Cui [Fri, 22 Jul 2016 22:59:21 +0000 (22:59 +0000)]
Merge \"simplperf: improve unknown symbol print in report-sample command.\"
am:
7682f60edc
Change-Id: I1738643c840698d65adecd67a586a02506dd26e1
Treehugger Robot [Fri, 22 Jul 2016 22:50:18 +0000 (22:50 +0000)]
Merge "simplperf: improve unknown symbol print in report-sample command."
Yabin Cui [Fri, 22 Jul 2016 21:42:14 +0000 (21:42 +0000)]
Merge \\\"simpleperf: add --duration for stat/record command.\\\" am:
53fdddd794 am:
805221527e
am:
46438c64e7
Change-Id: Ibb17e9323ccf52409fa4f0a97f014c64c94a1cf5
Yabin Cui [Fri, 22 Jul 2016 21:39:44 +0000 (21:39 +0000)]
Merge \\"simpleperf: add --duration for stat/record command.\\" am:
53fdddd794
am:
805221527e
Change-Id: I56313f247804f2df8ecb4c60db268a51249dcea8
Yabin Cui [Fri, 22 Jul 2016 21:36:46 +0000 (21:36 +0000)]
Merge \"simpleperf: add --duration for stat/record command.\"
am:
53fdddd794
Change-Id: Ibc911eb9be4666dae97ae179248863a0622541a8
Treehugger Robot [Fri, 22 Jul 2016 21:24:33 +0000 (21:24 +0000)]
Merge "simpleperf: add --duration for stat/record command."
Yabin Cui [Fri, 22 Jul 2016 01:32:53 +0000 (18:32 -0700)]
simpleperf: add --duration for stat/record command.
Also fix a bug in ReportCommandTest.callgraph_option.
Bug: http://b/
30292111
Change-Id: I21ced0c8aa7ec10c60c4fc1ddc6e5dfd256feeb1
Test: run simpleperf_unit_test.
Dan Willemsen [Thu, 21 Jul 2016 21:16:53 +0000 (14:16 -0700)]
Rename lib{crypto,ssl}-host to lib{crypto,ssl}
There's no need to use a different name for target and host moudles. In
Soong, it's better to use the same for both, as target and host modules
can be defined at the same time.
Change-Id: I4b3ffd0b4abcd10490578d623ae140df5c19dc76
Yabin Cui [Thu, 21 Jul 2016 19:29:47 +0000 (12:29 -0700)]
simplperf: improve unknown symbol print in report-sample command.
Add * for all unknown symbols, so it is easier to write program to
identify unknown symbols.
Use dso[+ip_offset] for unknown symbols.
Bug:
28114205
Change-Id: I14cfffe6673a9aedc62cc288c1b2d724ab411f5d
Zach Riggle [Thu, 21 Jul 2016 15:44:49 +0000 (15:44 +0000)]
Merge \\\"Add runconuid command to xbin\\\" am:
a33edd664d am:
143f3a3f29
am:
90db10aa27
Change-Id: I9256186d51349bdccb05c21d56cafa388ca0a386
Zach Riggle [Thu, 21 Jul 2016 15:32:56 +0000 (15:32 +0000)]
Merge \\"Add runconuid command to xbin\\" am:
a33edd664d
am:
143f3a3f29
Change-Id: Ib7bb2fa822453279fd72aac7138ea1030663505a
Zach Riggle [Thu, 21 Jul 2016 15:30:27 +0000 (15:30 +0000)]
Merge \"Add runconuid command to xbin\"
am:
a33edd664d
Change-Id: I7f8403cb1f355c25c46659f9e5b0261ebe302791
Zach Riggle [Thu, 21 Jul 2016 15:23:14 +0000 (15:23 +0000)]
Merge "Add runconuid command to xbin"
Zach Riggle [Thu, 21 Jul 2016 15:21:54 +0000 (11:21 -0400)]
Add runconuid command to xbin
Change-Id: Iebaabb316682acd4415673f1ef3727a25922225d
Yabin Cui [Thu, 21 Jul 2016 01:37:35 +0000 (01:37 +0000)]
Merge \\\"simpleperf: add option for generating java code for report_sample.proto.\\\" am:
68320c1559 am:
aef0c8aa36
am:
dc7522f5dd
Change-Id: I5eeaf9ad789c7a0f274eb8ef314d07334f3c4d68
Yabin Cui [Thu, 21 Jul 2016 01:37:34 +0000 (01:37 +0000)]
Merge \\\"simpleperf: add thread_id in report_sample\\\'s output.\\\" am:
0611ad5a36 am:
ebbfae6382
am:
0d07ad8909
Change-Id: I75a30e582eabcab87702507152c7fad0fe21814b
Yabin Cui [Thu, 21 Jul 2016 01:35:34 +0000 (01:35 +0000)]
Merge \\"simpleperf: add option for generating java code for report_sample.proto.\\" am:
68320c1559
am:
aef0c8aa36
Change-Id: Iccd164a41733f702241cb0a4ef750e0879b24c11
Yabin Cui [Thu, 21 Jul 2016 01:35:34 +0000 (01:35 +0000)]
Merge \\"simpleperf: add thread_id in report_sample\\'s output.\\" am:
0611ad5a36
am:
ebbfae6382
Change-Id: I312359cf5884664a236e56c12933c54352b841ab
Yabin Cui [Thu, 21 Jul 2016 01:33:14 +0000 (01:33 +0000)]
Merge \"simpleperf: add option for generating java code for report_sample.proto.\"
am:
68320c1559
Change-Id: I26415fadd7e8be6866e8ace0a68354d81f4fa0f4
Yabin Cui [Thu, 21 Jul 2016 01:33:13 +0000 (01:33 +0000)]
Merge \"simpleperf: add thread_id in report_sample\'s output.\"
am:
0611ad5a36
Change-Id: Ib3b22e80e1f59827aa3ed65413ef2344c7ede390
Yabin Cui [Thu, 21 Jul 2016 01:12:19 +0000 (01:12 +0000)]
Merge "simpleperf: add option for generating java code for report_sample.proto."
Yabin Cui [Thu, 21 Jul 2016 01:12:05 +0000 (01:12 +0000)]
Merge "simpleperf: add thread_id in report_sample's output."
Yabin Cui [Wed, 20 Jul 2016 00:15:12 +0000 (17:15 -0700)]
simpleperf: add option for generating java code for report_sample.proto.
Bug:
28114205
Change-Id: Iaa13b47b32c148c4770b4215e1dc2369538592f7
Yabin Cui [Tue, 19 Jul 2016 23:07:54 +0000 (16:07 -0700)]
simpleperf: add thread_id in report_sample's output.
Also fix enum Type in report_sample.proto.
Bug:
28114205
Change-Id: Ia4e6a31a69095c8183544e2d53c8ceddc10ccb51
Wei Wang [Tue, 19 Jul 2016 20:08:05 +0000 (20:08 +0000)]
cppreopts: parallel cppreopts to improve performance
am:
757d341496
Change-Id: I0e95a9238cae2733ebfb73b95a68d59b1a61baf5
Wei Wang [Mon, 18 Jul 2016 18:41:18 +0000 (11:41 -0700)]
cppreopts: parallel cppreopts to improve performance
Bug:
30118894
Bug:
30189706
Change-Id: I0ed0c69873313a3bfaf2e1ff217da59b0f8929c1
Yabin Cui [Fri, 15 Jul 2016 22:34:31 +0000 (22:34 +0000)]
Merge \\\"simpleperf: let simpleperf running record/stat command die if parent exits.\\\" am:
20908fe1d7 am:
6ffdece1b9
am:
b71da15ec1
Change-Id: Id02e85595557cb1e8e6a87f73cd6f6308d812f80
Yabin Cui [Fri, 15 Jul 2016 22:33:02 +0000 (22:33 +0000)]
Merge \\"simpleperf: let simpleperf running record/stat command die if parent exits.\\" am:
20908fe1d7
am:
6ffdece1b9
Change-Id: Id21084eb2748a3c320c3f0ce037d09def7a35ca5
Yabin Cui [Fri, 15 Jul 2016 22:29:04 +0000 (22:29 +0000)]
Merge \"simpleperf: let simpleperf running record/stat command die if parent exits.\"
am:
20908fe1d7
Change-Id: Ibb27d164b498d88878517d9f100fcd71f8b71aed
Yabin Cui [Fri, 15 Jul 2016 22:17:45 +0000 (22:17 +0000)]
Merge "simpleperf: let simpleperf running record/stat command die if parent exits."
Yabin Cui [Fri, 15 Jul 2016 21:08:48 +0000 (14:08 -0700)]
simpleperf: let simpleperf running record/stat command die if parent exits.
Bug:
28114205
Change-Id: I310b9d7a4f52ad5bacf892eba34dbf531a3a7245
Yabin Cui [Thu, 14 Jul 2016 23:11:29 +0000 (23:11 +0000)]
Merge \\\"simpleperf: fix unwind stack size.\\\" am:
7be7fee1e7 am:
a74db7d675
am:
f06402e7bf
Change-Id: Ie36316c321e6e44d623d70c1d155f5ccbfce2aaa
Yabin Cui [Thu, 14 Jul 2016 23:08:59 +0000 (23:08 +0000)]
Merge \\"simpleperf: fix unwind stack size.\\" am:
7be7fee1e7
am:
a74db7d675
Change-Id: I4b9ee5ecffb1dbe5f8626bfee5e260ba6baeb568
Yabin Cui [Thu, 14 Jul 2016 23:06:31 +0000 (23:06 +0000)]
Merge \"simpleperf: fix unwind stack size.\"
am:
7be7fee1e7
Change-Id: I549984ef043ecb05e2131d02901359d61efa879d
Treehugger Robot [Thu, 14 Jul 2016 22:58:35 +0000 (22:58 +0000)]
Merge "simpleperf: fix unwind stack size."
Yabin Cui [Thu, 14 Jul 2016 22:42:58 +0000 (22:42 +0000)]
Merge \\\"simpleperf: show dso[+vaddr_in_file] for unknown symbols.\\\" am:
71f3fbc91b am:
d997aec568
am:
aad8faa394
Change-Id: I29bb5017fac1e5a7fe928041999225711a65fe25
Yabin Cui [Thu, 14 Jul 2016 22:40:28 +0000 (22:40 +0000)]
Merge \\"simpleperf: show dso[+vaddr_in_file] for unknown symbols.\\" am:
71f3fbc91b
am:
d997aec568
Change-Id: Ic24cd27cb895772ee849b4a8f6ed8276776959a4
Yabin Cui [Thu, 14 Jul 2016 22:37:59 +0000 (22:37 +0000)]
Merge \"simpleperf: show dso[+vaddr_in_file] for unknown symbols.\"
am:
71f3fbc91b
Change-Id: Id47db344814bb5c9ab71509c7a6ccc45080ab645
Treehugger Robot [Thu, 14 Jul 2016 22:22:10 +0000 (22:22 +0000)]
Merge "simpleperf: show dso[+vaddr_in_file] for unknown symbols."
Yabin Cui [Thu, 14 Jul 2016 21:50:23 +0000 (21:50 +0000)]
Merge \\\"simpleperf: change default callgraph to use caller mode.\\\" am:
fd16291c83 am:
1c34bc5cc9
am:
7106845bd3
Change-Id: I47e8876a443a881ffc14fce43d31e425564e0ba6
Yabin Cui [Thu, 14 Jul 2016 21:50:23 +0000 (21:50 +0000)]
Merge \\\"simpleperf: fix dumping symbols for unwinded ips.\\\" am:
1ebe5df8ae am:
b4b2774b53
am:
e68fd1deb5
Change-Id: I502ba5a893941adecac6230ef20d51e8e02072c4
Yabin Cui [Thu, 14 Jul 2016 21:47:24 +0000 (21:47 +0000)]
Merge \\"simpleperf: change default callgraph to use caller mode.\\" am:
fd16291c83
am:
1c34bc5cc9
Change-Id: Icf069a441b98a77dcb29f16e56a9149cb233231a
Yabin Cui [Thu, 14 Jul 2016 21:47:23 +0000 (21:47 +0000)]
Merge \\"simpleperf: fix dumping symbols for unwinded ips.\\" am:
1ebe5df8ae
am:
b4b2774b53
Change-Id: I8a61ddd0b33979a13ecfea47545e5a2be19f6256
Yabin Cui [Thu, 14 Jul 2016 21:44:57 +0000 (21:44 +0000)]
Merge \"simpleperf: change default callgraph to use caller mode.\"
am:
fd16291c83
Change-Id: Idde73a7d1220aaac208debd835a1145639a5b5a4
Yabin Cui [Thu, 14 Jul 2016 21:44:56 +0000 (21:44 +0000)]
Merge \"simpleperf: fix dumping symbols for unwinded ips.\"
am:
1ebe5df8ae
Change-Id: Ib54f74775238a1827ceccb27b224e53ac53604c7
Yabin Cui [Thu, 14 Jul 2016 21:29:33 +0000 (14:29 -0700)]
simpleperf: fix unwind stack size.
Currently, to work around the bug in N9, simpleperf uses
all dumped user stack for unwinding. However, not all of
the data is valid, which can make unwinding result annoying.
So fix this by using only valid stack data if dyn_size != 0.
Bug:
29574526
Test: run simpleperf_unit_test and use simpleperf manually.
Change-Id: Idaa82f3156215fc4fb902d96de290e43726b0e17
Yabin Cui [Thu, 14 Jul 2016 21:34:59 +0000 (21:34 +0000)]
Merge "simpleperf: change default callgraph to use caller mode."
Yabin Cui [Thu, 14 Jul 2016 21:34:41 +0000 (21:34 +0000)]
Merge "simpleperf: fix dumping symbols for unwinded ips."
Yabin Cui [Thu, 14 Jul 2016 20:26:19 +0000 (13:26 -0700)]
simpleperf: show dso[+vaddr_in_file] for unknown symbols.
It gives more information than just unknown symbols.
Add --no-show-ip option to disable this additional detail.
Bug:
29772268
Change-Id: Ie8067f95b5fdc65806044e229ee12095367d115a
Test: run simpleperf_unit_test.
Yabin Cui [Thu, 14 Jul 2016 18:50:31 +0000 (11:50 -0700)]
simpleperf: change default callgraph to use caller mode.
Callgraph in caller mode shows how functions call others, i.e.,
main() -> func1() -> func2(). Instead, callgraph in callee mode shows
how functions are called by others, i.e., func2() <- func1() <- main().
It seems callgraph in caller mode is easier to understand than callee
mode. So change to default option to use caller mode.
Bug:
29574526
Change-Id: I85f104ef7c974bbf7cafd290563e762ba1e0a084
Test: manually check if the default call graph changes.
Yabin Cui [Thu, 14 Jul 2016 18:13:41 +0000 (11:13 -0700)]
simpleperf: fix dumping symbols for unwinded ips.
Previous code dumps symbols for unwinded ips regardless of
--dump-symbols option. Fix it to be controled by --dump-symbols
option.
Bug:
29581559
Change-Id: Ie7a79bf5275c13b0df4352e4aedc702f34b7b899
Test: run simpleperf_unit_test.
Yabin Cui [Thu, 14 Jul 2016 02:41:01 +0000 (02:41 +0000)]
Merge \\\"simpleperf: adjust mapped buffer size in record command.\\\" am:
e5b5cf07c7 am:
7d14996202
am:
259a42912c
Change-Id: I0b725df71e12bdcf4bcd37b3ab55becc0b0cae6d
Yabin Cui [Thu, 14 Jul 2016 02:38:08 +0000 (02:38 +0000)]
Merge \\"simpleperf: adjust mapped buffer size in record command.\\" am:
e5b5cf07c7
am:
7d14996202
Change-Id: I2277d0c0990a323008084db9209e92daa797bc86
Yabin Cui [Thu, 14 Jul 2016 02:35:28 +0000 (02:35 +0000)]
Merge \"simpleperf: adjust mapped buffer size in record command.\"
am:
e5b5cf07c7
Change-Id: Ifff95d2239dc83267bb0dad870480bd4d29b9341
Treehugger Robot [Thu, 14 Jul 2016 02:17:21 +0000 (02:17 +0000)]
Merge "simpleperf: adjust mapped buffer size in record command."
Yabin Cui [Thu, 14 Jul 2016 00:06:50 +0000 (17:06 -0700)]
simpleperf: adjust mapped buffer size in record command.
Instead of fixing the mapped buffer size, we can adjust
it at runtime. So users don't need to adjust -m manually.
Bug:
29574526
Change-Id: Icb580df3d60f8d2cf554c0d4139e6f7f64b19f8f
Test: run simpleperf_unit_test.
Yabin Cui [Wed, 13 Jul 2016 21:01:14 +0000 (21:01 +0000)]
Merge \\\"simpleperf: check dump stack size and adjust its default value.\\\" am:
7a6b3fdff5 am:
91997d098f
am:
14ea64d888
Change-Id: Id8be1ab67c243adbfcdfd529e437894391fc9a59
Yabin Cui [Wed, 13 Jul 2016 20:58:33 +0000 (20:58 +0000)]
Merge \\"simpleperf: check dump stack size and adjust its default value.\\" am:
7a6b3fdff5
am:
91997d098f
Change-Id: Idc8ed9badc2aa05d3f3b37e676374cad4fad3aa4
Yabin Cui [Wed, 13 Jul 2016 20:56:09 +0000 (20:56 +0000)]
Merge \"simpleperf: check dump stack size and adjust its default value.\"
am:
7a6b3fdff5
Change-Id: Ifbdce7abc65f089e35a0ecbcfedc81fc808282b6
Yabin Cui [Wed, 13 Jul 2016 20:47:40 +0000 (20:47 +0000)]
Merge "simpleperf: check dump stack size and adjust its default value."
Yabin Cui [Wed, 13 Jul 2016 19:18:18 +0000 (12:18 -0700)]
simpleperf: check dump stack size and adjust its default value.
Improve error message by checking if dump stack size > 65528.
And adjust the default dump stack size to 65528, because I
find that it is the value I always want to use.
Bug:
29574526
Change-Id: I8f16dcf3a86a477f17d81fd387bf4dfa0dc0b341
Test: run simpleperf_unit_test.
Colin Cross [Wed, 13 Jul 2016 00:41:11 +0000 (00:41 +0000)]
Merge \\\"Convert libpagemap Android.mk to Android.bp\\\" am:
6941c09c77 am:
1599730862
am:
4dbff9b77a
Change-Id: Ie88dbbe67402988afd0f7c438b1ea44996fea704
Colin Cross [Wed, 13 Jul 2016 00:37:55 +0000 (00:37 +0000)]
Merge \\"Convert libpagemap Android.mk to Android.bp\\" am:
6941c09c77
am:
1599730862
Change-Id: I70e405ab5bdc89443c25a9e71983d4a39e806b74
Jed Estep [Wed, 13 Jul 2016 00:37:47 +0000 (00:37 +0000)]
Basic A/B bootloader tests via bootctl
am:
a63cf1023b
Change-Id: I10e9790e2d20586d6daad8c84f55a58059e8cd1a
Colin Cross [Wed, 13 Jul 2016 00:34:40 +0000 (00:34 +0000)]
Merge \"Convert libpagemap Android.mk to Android.bp\"
am:
6941c09c77
Change-Id: I88ca7d0201da079bfb66c3c3a0ed8db0f83c6621
Colin Cross [Wed, 13 Jul 2016 00:22:29 +0000 (00:22 +0000)]
Merge "Convert libpagemap Android.mk to Android.bp"
Yabin Cui [Tue, 12 Jul 2016 23:31:13 +0000 (23:31 +0000)]
Merge \\\"simpleperf: combine mapped buffer used for the same event and cpu.\\\" am:
70e5ffea32 am:
c72339e694
am:
94a3b6f501
Change-Id: I522a4648de5e1abf97ea24a4378b0bd6f9bcbdd6
Yabin Cui [Tue, 12 Jul 2016 23:28:02 +0000 (23:28 +0000)]
Merge \\"simpleperf: combine mapped buffer used for the same event and cpu.\\" am:
70e5ffea32
am:
c72339e694
Change-Id: I66f87c41f1771021c31d654da96c36760ad44e69