OSDN Git Service

android-x86/system-extras.git
8 years agoprocrank: fix bounds check to prevent heap overflow am: 98a20cd128 am: 791e7afcfc
Nick Desaulniers [Thu, 11 Aug 2016 00:39:00 +0000 (00:39 +0000)]
procrank: fix bounds check to prevent heap overflow am: 98a20cd128 am: 791e7afcfc
am: b7e5a30c73

Change-Id: I907999ad92c55a851c67cdfe764759cce62d55e8

8 years agoprocrank: fix bounds check to prevent heap overflow am: 98a20cd128
Nick Desaulniers [Thu, 11 Aug 2016 00:35:58 +0000 (00:35 +0000)]
procrank: fix bounds check to prevent heap overflow am: 98a20cd128
am: 791e7afcfc

Change-Id: Ifec13ab874d4830a5af9ca05642d409818874ab0

8 years agoprocrank: fix bounds check to prevent heap overflow
Nick Desaulniers [Thu, 11 Aug 2016 00:32:59 +0000 (00:32 +0000)]
procrank: fix bounds check to prevent heap overflow
am: 98a20cd128

Change-Id: I9e79ff3f83f36b68fa119d1b95f235a804cfb34e

8 years agoprocrank: fix bounds check to prevent heap overflow
Nick Desaulniers [Wed, 10 Aug 2016 22:44:19 +0000 (15:44 -0700)]
procrank: fix bounds check to prevent heap overflow

Bug: 30774296
Change-Id: I44005caaa3cc17fe829f375a4cfeb5a464c97fbe

8 years agoMerge "simpleperf: fix --pids option." am: be52e2bb05 am: 1cc3b804f9 am: 7ffd3546c9
Yabin Cui [Wed, 10 Aug 2016 00:41:31 +0000 (00:41 +0000)]
Merge "simpleperf: fix --pids option." am: be52e2bb05 am: 1cc3b804f9 am: 7ffd3546c9
am: f73929423d

Change-Id: Iae39f1061a80e5a9546cb4ba61fe71ea8830ed23

8 years agoMerge "simpleperf: fix --pids option." am: be52e2bb05 am: 1cc3b804f9
Yabin Cui [Wed, 10 Aug 2016 00:38:25 +0000 (00:38 +0000)]
Merge "simpleperf: fix --pids option." am: be52e2bb05 am: 1cc3b804f9
am: 7ffd3546c9

Change-Id: I1e5ca640aea3c50dd07d2705e92e8f08fad3f20e

8 years agoMerge "simpleperf: fix --pids option." am: be52e2bb05
Yabin Cui [Wed, 10 Aug 2016 00:35:37 +0000 (00:35 +0000)]
Merge "simpleperf: fix --pids option." am: be52e2bb05
am: 1cc3b804f9

Change-Id: I2d7f439d8c44897d2c2061d0828a802c039743c0

8 years agoMerge "simpleperf: fix --pids option."
Yabin Cui [Wed, 10 Aug 2016 00:32:59 +0000 (00:32 +0000)]
Merge "simpleperf: fix --pids option."
am: be52e2bb05

Change-Id: I0538f441405b4cb47579eec93177d993781577f1

8 years agoMerge "simpleperf: fix --pids option."
Treehugger Robot [Wed, 10 Aug 2016 00:26:42 +0000 (00:26 +0000)]
Merge "simpleperf: fix --pids option."

8 years agoMerge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3 am: 1ec42a5...
Yabin Cui [Tue, 9 Aug 2016 22:43:09 +0000 (22:43 +0000)]
Merge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3 am: 1ec42a59f4 am: 87ff9b1434
am: 9051fc0271

Change-Id: I7ab5349c2835ebc598a93428eefbcb20addb4771

8 years agoMerge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3 am: 1ec42a59f4
Yabin Cui [Tue, 9 Aug 2016 22:39:14 +0000 (22:39 +0000)]
Merge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3 am: 1ec42a59f4
am: 87ff9b1434

Change-Id: I5a0e6ec318e19e08e008c04a19a388fd8c237726

8 years agoMerge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3
Yabin Cui [Tue, 9 Aug 2016 22:36:30 +0000 (22:36 +0000)]
Merge "simpleperf: monitor and report cpu hotplug events." am: f58a9a0db3
am: 1ec42a59f4

Change-Id: I589c3fedf66d298800c1b97ef6e980a972b70696

8 years agoMerge "simpleperf: monitor and report cpu hotplug events."
Yabin Cui [Tue, 9 Aug 2016 22:33:34 +0000 (22:33 +0000)]
Merge "simpleperf: monitor and report cpu hotplug events."
am: f58a9a0db3

Change-Id: Ia4307a3f16bc38e422c2148d4ee798cf38a393d6

8 years agoMerge "simpleperf: monitor and report cpu hotplug events."
Treehugger Robot [Tue, 9 Aug 2016 22:24:14 +0000 (22:24 +0000)]
Merge "simpleperf: monitor and report cpu hotplug events."

8 years agoFix binderAddInts benchmark am: 187816e579 am: c66c0d2a9c
John Reck [Tue, 9 Aug 2016 21:56:12 +0000 (21:56 +0000)]
Fix binderAddInts benchmark am: 187816e579 am: c66c0d2a9c
am: 3ea8fa4dd8

Change-Id: I16408003fb4e3e3f4da161e937e3a8614b345a82

8 years agoFix binderAddInts benchmark am: 187816e579
John Reck [Tue, 9 Aug 2016 21:52:40 +0000 (21:52 +0000)]
Fix binderAddInts benchmark am: 187816e579
am: c66c0d2a9c

Change-Id: Id23ff75a175f0e9f25a7f78734705711191711a8

8 years agoFix binderAddInts benchmark
John Reck [Tue, 9 Aug 2016 21:50:01 +0000 (21:50 +0000)]
Fix binderAddInts benchmark
am: 187816e579

Change-Id: I5629093163fe4e58a5d09563aa47a5086e423833

8 years agoFix binderAddInts benchmark
John Reck [Tue, 9 Aug 2016 20:06:21 +0000 (13:06 -0700)]
Fix binderAddInts benchmark

Bug: 30765667

Restores the fork() that was missed in a refactor
causing the benchmark to no longer measure binder's
IPC performance.

Change-Id: Id79ab082f1d20e1d058f80bd43018c9737b8250b

8 years agoFix lsof option in anrd script. am: 83208e51da
Zhengyin Qian [Tue, 9 Aug 2016 19:56:16 +0000 (19:56 +0000)]
Fix lsof option in anrd script. am: 83208e51da
am: 44acf4ec09

Change-Id: Idec364e2ae5e70acca5d8a949ae9d7fd3fe8fabf

8 years agoFix lsof option in anrd script.
Zhengyin Qian [Tue, 9 Aug 2016 19:41:49 +0000 (19:41 +0000)]
Fix lsof option in anrd script.
am: 83208e51da

Change-Id: I7a8f5441c41bfca740855bf0a14249e38c7126d1

8 years agosimpleperf: fix --pids option.
Yabin Cui [Mon, 8 Aug 2016 21:42:25 +0000 (14:42 -0700)]
simpleperf: fix --pids option.

--pids option was recognized as --tids because of logic
error. this patch fixes that and adds corresponding test.

Bug: http://b/30736228
Change-Id: I0515fc7e03f29f821f7b0aa32c608cf250e87662
Test: run simpleperf_unit_test.

8 years agoFix lsof option in anrd script.
Zhengyin Qian [Tue, 9 Aug 2016 17:56:51 +0000 (10:56 -0700)]
Fix lsof option in anrd script.

Change-Id: Ib0043c51ed289469dbef33d9333b1e6113c3b23e

8 years agoMerge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a am: e1e462b9f...
Yabin Cui [Mon, 8 Aug 2016 23:29:35 +0000 (23:29 +0000)]
Merge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a am: e1e462b9f2 am: fec0c06270
am: 39a88c0d10

Change-Id: I7a84487c5190a2430c27525b6fe1754693b3ea43

8 years agoMerge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a am: e1e462b9f2
Yabin Cui [Mon, 8 Aug 2016 23:03:38 +0000 (23:03 +0000)]
Merge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a am: e1e462b9f2
am: fec0c06270

Change-Id: I34d915008240703b0cb208804d4ce7a9ab34b42a

8 years agoMerge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a
Yabin Cui [Mon, 8 Aug 2016 22:53:30 +0000 (22:53 +0000)]
Merge "simpleperf: fix test record_cmd.duration_option." am: 8cd939bd7a
am: e1e462b9f2

Change-Id: I8e239553d378c5f1c1500551562f72bf5a562ee1

8 years agoMerge "simpleperf: fix test record_cmd.duration_option."
Yabin Cui [Mon, 8 Aug 2016 22:48:31 +0000 (22:48 +0000)]
Merge "simpleperf: fix test record_cmd.duration_option."
am: 8cd939bd7a

Change-Id: If85f536e10b5533365333a0e7b6e9bf22b83c822

8 years agoMerge "simpleperf: fix test record_cmd.duration_option."
Treehugger Robot [Mon, 8 Aug 2016 22:44:23 +0000 (22:44 +0000)]
Merge "simpleperf: fix test record_cmd.duration_option."

8 years agoFix missing pipe in ANRdaemon. am: 95c00594e5
Nancy Zheng [Mon, 8 Aug 2016 22:31:59 +0000 (22:31 +0000)]
Fix missing pipe in ANRdaemon. am: 95c00594e5
am: 2061bef855

Change-Id: I9257f9a851e8bcf5969b9df6f798e7ef07728044

8 years agoFix missing pipe in ANRdaemon.
Nancy Zheng [Mon, 8 Aug 2016 22:20:06 +0000 (22:20 +0000)]
Fix missing pipe in ANRdaemon.
am: 95c00594e5

Change-Id: I9ec4af8770b8ae5c6ff3d94e6502464ff23a72ee

8 years agosimpleperf: fix test record_cmd.duration_option.
Yabin Cui [Mon, 8 Aug 2016 21:51:48 +0000 (14:51 -0700)]
simpleperf: fix test record_cmd.duration_option.

The test should write perf.data to a temporary file, because
the test may not have permission to write perf.data in
current directory.

Bug: http://b/30405638
Change-Id: Iff4ac7ea014f29e58146ad79c8dc3b0abcdb8d41
Test: run simpleperf_unit_test.

8 years agoMerge "Fix references to libcrypto_utils_static." am: 879a2c8fa0 am: 8b2ebbc4cf am...
Josh Gao [Mon, 8 Aug 2016 18:41:52 +0000 (18:41 +0000)]
Merge "Fix references to libcrypto_utils_static." am: 879a2c8fa0 am: 8b2ebbc4cf am: 4319bd92ad
am: 8d88f076f6

Change-Id: I827024bd59d161c13e54a7ecc49714abf3cfd802

8 years agoMerge "Fix references to libcrypto_utils_static." am: 879a2c8fa0 am: 8b2ebbc4cf
Josh Gao [Mon, 8 Aug 2016 18:39:25 +0000 (18:39 +0000)]
Merge "Fix references to libcrypto_utils_static." am: 879a2c8fa0 am: 8b2ebbc4cf
am: 4319bd92ad

Change-Id: I674655ae677573f4981b4cdeff6ee8849ba8fef5

8 years agoMerge "Fix references to libcrypto_utils_static." am: 879a2c8fa0
Josh Gao [Mon, 8 Aug 2016 18:36:20 +0000 (18:36 +0000)]
Merge "Fix references to libcrypto_utils_static." am: 879a2c8fa0
am: 8b2ebbc4cf

Change-Id: I3e649cea60b756a3abc83898873e8aa7fba5ea11

8 years agoMerge "Fix references to libcrypto_utils_static."
Josh Gao [Mon, 8 Aug 2016 18:33:53 +0000 (18:33 +0000)]
Merge "Fix references to libcrypto_utils_static."
am: 879a2c8fa0

Change-Id: I0a3d2c1f73a93ad3a34e4d4588ad95f3be33f7a8

8 years agoMerge "Fix references to libcrypto_utils_static."
Josh Gao [Mon, 8 Aug 2016 18:29:10 +0000 (18:29 +0000)]
Merge "Fix references to libcrypto_utils_static."

8 years agoMerge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160 am...
Chih-hung Hsieh [Mon, 8 Aug 2016 17:02:21 +0000 (17:02 +0000)]
Merge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160 am: e38deacab6 am: a0d5084130
am: e63781b83c

Change-Id: I2963bea1ff9851634941f8489838cd57d3051f17

8 years agoMerge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160 am...
Chih-Hung Hsieh [Mon, 8 Aug 2016 16:58:52 +0000 (16:58 +0000)]
Merge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160 am: e38deacab6
am: a0d5084130

Change-Id: I4c48af7e602feaf85e527aecfc62a76eb47a7481

8 years agoMerge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160
Chih-hung Hsieh [Mon, 8 Aug 2016 16:55:22 +0000 (16:55 +0000)]
Merge "Fix google-explicit-constructor warnings in perfprofd." am: f5f54b5160
am: e38deacab6

Change-Id: Ibbb1c9f7b65b96831b0d02be2aa911d98c0e4259

8 years agoMerge "Fix google-explicit-constructor warnings in perfprofd."
Chih-Hung Hsieh [Mon, 8 Aug 2016 16:52:24 +0000 (16:52 +0000)]
Merge "Fix google-explicit-constructor warnings in perfprofd."
am: f5f54b5160

Change-Id: If2eb28db00b71a8b6dfdecdc3e3bdf5abcacdb80

8 years agoMerge "Fix google-explicit-constructor warnings in perfprofd."
Chih-hung Hsieh [Mon, 8 Aug 2016 16:40:07 +0000 (16:40 +0000)]
Merge "Fix google-explicit-constructor warnings in perfprofd."

8 years agoFix missing pipe in ANRdaemon.
Nancy Zheng [Sat, 6 Aug 2016 01:48:20 +0000 (18:48 -0700)]
Fix missing pipe in ANRdaemon.

Change-Id: I1322ed51f0f1456ebfb8cbb1404772f7fc2bf840

8 years agoFix references to libcrypto_utils_static.
Josh Gao [Fri, 5 Aug 2016 23:03:01 +0000 (16:03 -0700)]
Fix references to libcrypto_utils_static.

Bug: http://b/30708454
Change-Id: I471ed5e3be92d60a88bf75ed5e427f7e34eefbc3

8 years agoMerge "simpleperf: fix record file writer." am: 4c54842292 am: f33ea38bf2 am: 3f4bb10df8
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

8 years agoMerge "simpleperf: fix record file writer." am: 4c54842292 am: f33ea38bf2
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

8 years agoMerge "simpleperf: fix record file writer." am: 4c54842292
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

8 years agoMerge "simpleperf: fix record file writer."
Yabin Cui [Fri, 5 Aug 2016 23:48:20 +0000 (23:48 +0000)]
Merge "simpleperf: fix record file writer."
am: 4c54842292

Change-Id: Id7e992b40120f0ca2f9763b38ca0a18fbb6786a2

8 years agoMerge "simpleperf: fix record file writer."
Treehugger Robot [Fri, 5 Aug 2016 23:43:31 +0000 (23:43 +0000)]
Merge "simpleperf: fix record file writer."

8 years agoMerge "simpleperf: allow --duration option when executing child command." am: 4b97e8e...
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

8 years agoMerge "simpleperf: allow --duration option when executing child command." am: 4b97e8e...
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

8 years agoMerge "simpleperf: allow --duration option when executing child command." am: 4b97e8e71f
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

8 years agoMerge "simpleperf: allow --duration option when executing child command."
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

8 years agosimpleperf: fix record file writer.
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.

8 years agoMerge "simpleperf: allow --duration option when executing child command."
Treehugger Robot [Fri, 5 Aug 2016 22:48:05 +0000 (22:48 +0000)]
Merge "simpleperf: allow --duration option when executing child command."

8 years agosimpleperf: 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.

8 years agoMerge "simpleperf: remove cpu option tests." am: 9ec492a979 am: 768751400d am: fb4182f3c8
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

8 years agoMerge "simpleperf: reduce Record construction overhead while recording." am: 46402560...
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

8 years agosimpleperf: monitor and report cpu hotplug events.
Yabin Cui [Fri, 5 Aug 2016 20:41:14 +0000 (13:41 -0700)]
simpleperf: monitor and report cpu hotplug events.

This patch is to measure whether we need to handle cpu hotplug events.

Bug: http://b/29245608
Test: run simpleperf_unit_test.

Change-Id: I031c6ddc99aeae66be10b4c586541accd622ceda

8 years agoMerge "simpleperf: remove cpu option tests." am: 9ec492a979 am: 768751400d
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

8 years agoMerge "simpleperf: reduce Record construction overhead while recording." am: 46402560...
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

8 years agoMerge "simpleperf: remove cpu option tests." am: 9ec492a979
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

8 years agoMerge "simpleperf: reduce Record construction overhead while recording." am: 4640256028
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

8 years agoMerge "simpleperf: remove cpu option tests."
Yabin Cui [Fri, 5 Aug 2016 21:38:26 +0000 (21:38 +0000)]
Merge "simpleperf: remove cpu option tests."
am: 9ec492a979

Change-Id: I9ed4fc32a7ba7030c48d4d5b7d7a905caed01e6d

8 years agoMerge "simpleperf: reduce Record construction overhead while recording."
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

8 years agoMerge "simpleperf: remove cpu option tests."
Treehugger Robot [Fri, 5 Aug 2016 21:35:49 +0000 (21:35 +0000)]
Merge "simpleperf: remove cpu option tests."

8 years agoMerge "simpleperf: reduce Record construction overhead while recording."
Treehugger Robot [Fri, 5 Aug 2016 21:31:29 +0000 (21:31 +0000)]
Merge "simpleperf: reduce Record construction overhead while recording."

8 years agoMerge "simpleperf: fix arm unwinding." am: 96bf860b97 am: 1f8b56c75a am: 194863e4f5
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

8 years agosimpleperf: remove cpu option tests.
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.

8 years agoMerge "simpleperf: fix arm unwinding." am: 96bf860b97 am: 1f8b56c75a
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

8 years agoMerge "simpleperf: fix arm unwinding." am: 96bf860b97
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

8 years agoMerge "simpleperf: fix arm unwinding."
Yabin Cui [Fri, 5 Aug 2016 20:37:44 +0000 (20:37 +0000)]
Merge "simpleperf: fix arm unwinding."
am: 96bf860b97

Change-Id: Ia652107bc88d04012d3d16bc146ff98bc3bc15cf

8 years agoMerge "simpleperf: fix arm unwinding."
Yabin Cui [Fri, 5 Aug 2016 20:32:34 +0000 (20:32 +0000)]
Merge "simpleperf: fix arm unwinding."

8 years agosimpleperf: 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.

8 years agosimpleperf: reduce Record construction overhead while recording.
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

8 years agoMerge "simpleperf: fix runtest." am: 2b29c4cea0 am: 3b7f9eac6f am: a402822d94
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

8 years agoMerge "simpleperf: keep binary in class Record." am: 39141ecfa0 am: 75051eada9 am...
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

8 years agoMerge "simpleperf: fix runtest." am: 2b29c4cea0 am: 3b7f9eac6f
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

8 years agoMerge "simpleperf: keep binary in class Record." am: 39141ecfa0 am: 75051eada9
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

8 years agoMerge "simpleperf: fix runtest." am: 2b29c4cea0
Yabin Cui [Thu, 4 Aug 2016 22:07:02 +0000 (22:07 +0000)]
Merge "simpleperf: fix runtest." am: 2b29c4cea0
am: 3b7f9eac6f

Change-Id: I6451b822ba04cce7f28b863692cde6c7ce9b876c

8 years agoMerge "simpleperf: keep binary in class Record." am: 39141ecfa0
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

8 years agoMerge "simpleperf: fix runtest."
Yabin Cui [Thu, 4 Aug 2016 22:04:06 +0000 (22:04 +0000)]
Merge "simpleperf: fix runtest."
am: 2b29c4cea0

Change-Id: I386f50558456212a606af8a350df9189bc8047ba

8 years agoMerge "simpleperf: keep binary in class Record."
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

8 years agoMerge "simpleperf: fix runtest."
Yabin Cui [Thu, 4 Aug 2016 21:46:51 +0000 (21:46 +0000)]
Merge "simpleperf: fix runtest."

8 years agoMerge "simpleperf: keep binary in class Record."
Yabin Cui [Thu, 4 Aug 2016 21:46:37 +0000 (21:46 +0000)]
Merge "simpleperf: keep binary in class Record."

8 years agosimpleperf: 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

8 years agosimpleperf: fix runtest.
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

8 years agoMerge "Fix clang-tidy warnings in iotop." am: 1f282c61fa am: 10f8b3cfde am: 388d5e8667
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

8 years agoMerge "Fix clang-tidy warnings in iotop." am: 1f282c61fa am: 10f8b3cfde
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

8 years agoMerge "Fix clang-tidy warnings in iotop." am: 1f282c61fa
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

8 years agoMerge "Fix clang-tidy warnings in iotop."
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

8 years agoMerge "Fix clang-tidy warnings in iotop."
Treehugger Robot [Tue, 2 Aug 2016 21:17:49 +0000 (21:17 +0000)]
Merge "Fix clang-tidy warnings in iotop."

8 years agoMerge "Fix google-explicit-constructor warnings in libfec." am: 7fc6a07696 am: aeec80...
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

8 years agoMerge "Fix google-explicit-constructor warnings in libfec." am: 7fc6a07696 am: aeec80874d
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

8 years agoMerge "Fix google-explicit-constructor warnings in libfec." am: 7fc6a07696
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

8 years agoMerge "Fix google-explicit-constructor warnings in libfec."
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

8 years agoMerge "Fix google-explicit-constructor warnings in libfec."
Treehugger Robot [Tue, 2 Aug 2016 19:33:02 +0000 (19:33 +0000)]
Merge "Fix google-explicit-constructor warnings in libfec."

8 years agoFix google-explicit-constructor warnings in perfprofd.
Chih-Hung Hsieh [Tue, 2 Aug 2016 18:47:49 +0000 (11:47 -0700)]
Fix google-explicit-constructor warnings in perfprofd.

Bug: 28341362
Change-Id: Ia65b3a37e918c9bda5c197536e8b0b2b34f787a8
Test: build with WITH_TIDY=1

8 years agoFix clang-tidy warnings in iotop.
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

8 years agoFix google-explicit-constructor warnings in libfec.
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

8 years agoMerge "simpleperf: add version." am: 52e9f95751 am: 34d1e82d0b am: 44cd5ca1e8
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

8 years agoMerge "simpleperf: print warning message when failed to read symbol table from elf...
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