OSDN Git Service

android-x86/system-extras.git
8 years agoMerge \"simpleperf: add type modifier when reporting events.\"
Yabin Cui [Wed, 15 Jun 2016 23:21:39 +0000 (23:21 +0000)]
Merge \"simpleperf: add type modifier when reporting events.\"
am: 90d56472a6

Change-Id: Iee188f56a1d74e972898f011e7d1bfc2a9e8ce12

8 years agoMerge "simpleperf: add type modifier when reporting events."
Yabin Cui [Wed, 15 Jun 2016 22:50:12 +0000 (22:50 +0000)]
Merge "simpleperf: add type modifier when reporting events."

8 years agoMerge \"simpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function.\"
Yabin Cui [Wed, 15 Jun 2016 22:22:28 +0000 (22:22 +0000)]
Merge \"simpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function.\"
am: 82cc1bf01d

Change-Id: I4e62a848ea0a5299c8884ecaa335698f3a439891

8 years agoMerge "simpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function."
Yabin Cui [Wed, 15 Jun 2016 21:50:10 +0000 (21:50 +0000)]
Merge "simpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function."

8 years agosimpleperf: add type modifier when reporting events.
Yabin Cui [Wed, 15 Jun 2016 19:10:33 +0000 (12:10 -0700)]
simpleperf: add type modifier when reporting events.

Before the change:
$simpleperf record -e cpu-cycles:u sleep 1
$simpleperf report
...
Event: cpu-cycles (type 0, config 0)
...

After the change:
$simpleperf report
...
Event: cpu-cycles:u (type 0, config 0)
...

Change-Id: I296c5476e03250e928ed0f579483d6866576d417

8 years agosimpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function.
Yabin Cui [Wed, 15 Jun 2016 18:49:23 +0000 (11:49 -0700)]
simpleperf: replace SIMPLEPERF_ALIGN macro with Align inline function.

Change-Id: Id9e9e67174ab3f857eb2baa9609351b60586b8dd

8 years agoMerge \\"boot_control_copy: Track the the bootloader_message struct change.\\" am...
Tao Bao [Tue, 14 Jun 2016 16:23:01 +0000 (16:23 +0000)]
Merge \\"boot_control_copy: Track the the bootloader_message struct change.\\" am: 42ca0e1992
am: 713a9a5c19

Change-Id: Iefde6de81a2a566b66a51b707ea0aa8a3dfb24d2

8 years agoMerge \"boot_control_copy: Track the the bootloader_message struct change.\"
Tao Bao [Tue, 14 Jun 2016 16:18:27 +0000 (16:18 +0000)]
Merge \"boot_control_copy: Track the the bootloader_message struct change.\"
am: 42ca0e1992

Change-Id: If4d94cbe24619b3e9f7f7924d2e76dfe25b78f46

8 years agoMerge "boot_control_copy: Track the the bootloader_message struct change."
Tao Bao [Tue, 14 Jun 2016 16:09:16 +0000 (16:09 +0000)]
Merge "boot_control_copy: Track the the bootloader_message struct change."

8 years agoMerge \\"simpleperf: fix mac build.\\" am: 898b3f48e2
Yabin Cui [Tue, 14 Jun 2016 01:52:57 +0000 (01:52 +0000)]
Merge \\"simpleperf: fix mac build.\\" am: 898b3f48e2
am: ab0531d484

Change-Id: Iae639a12f2629774731b4ab7d85eab1b6755efd7

8 years agoMerge \"simpleperf: fix mac build.\"
Yabin Cui [Tue, 14 Jun 2016 01:47:48 +0000 (01:47 +0000)]
Merge \"simpleperf: fix mac build.\"
am: 898b3f48e2

Change-Id: I92ea3c4aea4ec7426770a49c313223b52fd2d807

8 years agoMerge "simpleperf: fix mac build."
Yabin Cui [Tue, 14 Jun 2016 01:40:35 +0000 (01:40 +0000)]
Merge "simpleperf: fix mac build."

8 years agoMerge \\"simpleperf: support report samples using format defined by protobuf.\\"...
Yabin Cui [Tue, 14 Jun 2016 01:24:17 +0000 (01:24 +0000)]
Merge \\"simpleperf: support report samples using format defined by protobuf.\\" am: 9e02231f56
am: 78b15d0e54

Change-Id: I166ad49ea4081500f77567a2cf7ab1f2664a793c

8 years agosimpleperf: fix mac build.
Yabin Cui [Tue, 14 Jun 2016 01:14:39 +0000 (18:14 -0700)]
simpleperf: fix mac build.

Bug: 28114205
Change-Id: I84ad011b10c19e07576b718ba4b6b6c52a823366

8 years agoMerge \"simpleperf: support report samples using format defined by protobuf.\"
Yabin Cui [Tue, 14 Jun 2016 00:25:17 +0000 (00:25 +0000)]
Merge \"simpleperf: support report samples using format defined by protobuf.\"
am: 9e02231f56

Change-Id: I6d7fd1959484c588ace7b8753c8d7c67d691773e

8 years agoMerge "simpleperf: support report samples using format defined by protobuf."
Yabin Cui [Tue, 14 Jun 2016 00:16:34 +0000 (00:16 +0000)]
Merge "simpleperf: support report samples using format defined by protobuf."

8 years agosimpleperf: support report samples using format defined by protobuf.
Yabin Cui [Fri, 3 Jun 2016 22:06:53 +0000 (15:06 -0700)]
simpleperf: support report samples using format defined by protobuf.

Bug: 28114205
Change-Id: Idf6d64b8418b3d55d5a43f6096dd2d69764692c0

8 years agoMerge \\"libfec: return raw and corrected verity metadata signatures\\" am: 964cae530c
Sami Tolvanen [Mon, 13 Jun 2016 15:20:18 +0000 (15:20 +0000)]
Merge \\"libfec: return raw and corrected verity metadata signatures\\" am: 964cae530c
am: 66c3086727

Change-Id: I8be1b4fbca0ce966aede30acd91fc9f88994e9de

8 years agoMerge \"libfec: return raw and corrected verity metadata signatures\"
Sami Tolvanen [Mon, 13 Jun 2016 15:12:21 +0000 (15:12 +0000)]
Merge \"libfec: return raw and corrected verity metadata signatures\"
am: 964cae530c

Change-Id: I5965e8f81c8f9813ce8cfe979283e9348f4e9ea7

8 years agoMerge "libfec: return raw and corrected verity metadata signatures"
Sami Tolvanen [Mon, 13 Jun 2016 15:04:16 +0000 (15:04 +0000)]
Merge "libfec: return raw and corrected verity metadata signatures"

8 years agoMerge \"simpleperf: restore perf_harden after simpleperf cts test.\" into nyc-dev
Yabin Cui [Sat, 11 Jun 2016 04:02:12 +0000 (04:02 +0000)]
Merge \"simpleperf: restore perf_harden after simpleperf cts test.\" into nyc-dev
am: 4d9e9c66fb  -s ours

Change-Id: I4b6cf1587671fba18b5bc5b45d8f0352c436a75c

8 years agoMerge "simpleperf: restore perf_harden after simpleperf cts test." into nyc-dev
Yabin Cui [Sat, 11 Jun 2016 03:53:11 +0000 (03:53 +0000)]
Merge "simpleperf: restore perf_harden after simpleperf cts test." into nyc-dev

8 years agosimpleperf: check perf event limit.
Yabin Cui [Sat, 11 Jun 2016 02:04:09 +0000 (02:04 +0000)]
simpleperf: check perf event limit.
am: 92c688b1f7  -s ours

Change-Id: Ic442205bbf8ba021f257f9cfcf46ed3ca30a7482

8 years agosimpleperf: restore perf_harden after simpleperf cts test.
Yabin Cui [Fri, 10 Jun 2016 19:15:11 +0000 (12:15 -0700)]
simpleperf: restore perf_harden after simpleperf cts test.

Bug: 29264324
Change-Id: Ia78ef924f049630968d222729cf3c1f378105b8a
(cherry picked from commit 5896132e00c7e49d2468d7ebd5372654df29b872)

8 years agoMerge \\"simpleperf: restore perf_harden after simpleperf cts test.\\" am: 33732ddfd3
Yabin Cui [Sat, 11 Jun 2016 00:45:19 +0000 (00:45 +0000)]
Merge \\"simpleperf: restore perf_harden after simpleperf cts test.\\" am: 33732ddfd3
am: 9e3191452e

Change-Id: I614cb8a32c44143e6c7630b1687c82fd1c9a8c5b

8 years agoMerge \"simpleperf: restore perf_harden after simpleperf cts test.\"
Yabin Cui [Sat, 11 Jun 2016 00:41:22 +0000 (00:41 +0000)]
Merge \"simpleperf: restore perf_harden after simpleperf cts test.\"
am: 33732ddfd3

Change-Id: Ibf4c201724d5254fed1db18e49ae8b1ccc6f05d3

8 years agoMerge "simpleperf: restore perf_harden after simpleperf cts test."
Yabin Cui [Sat, 11 Jun 2016 00:30:03 +0000 (00:30 +0000)]
Merge "simpleperf: restore perf_harden after simpleperf cts test."

8 years agosimpleperf: check perf event limit.
Yabin Cui [Wed, 1 Jun 2016 22:39:39 +0000 (15:39 -0700)]
simpleperf: check perf event limit.

The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that.

Bug: 29054680
Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686
(cherry picked from commit ebf79f3a65c81ef0f8cd7a3b875771be88157fcc)

8 years agosimpleperf: restore perf_harden after simpleperf cts test.
Yabin Cui [Fri, 10 Jun 2016 19:15:11 +0000 (12:15 -0700)]
simpleperf: restore perf_harden after simpleperf cts test.

Bug: 29264324
Change-Id: Ia78ef924f049630968d222729cf3c1f378105b8a

8 years agoMerge \\"Support for converting callchain profiles.\\" am: 05c98248e6
Than McIntosh [Fri, 10 Jun 2016 11:09:18 +0000 (11:09 +0000)]
Merge \\"Support for converting callchain profiles.\\" am: 05c98248e6
am: 342b992f85

Change-Id: I1d1f18dc1aa21f830bde03ec45ef121f94f0c5bf

8 years agoMerge \"Support for converting callchain profiles.\"
Than McIntosh [Fri, 10 Jun 2016 11:06:34 +0000 (11:06 +0000)]
Merge \"Support for converting callchain profiles.\"
am: 05c98248e6

Change-Id: Ic217bbf8f52b1068e6778a56dea5e8a875305abd

8 years agoMerge "Support for converting callchain profiles."
Than McIntosh [Fri, 10 Jun 2016 11:02:40 +0000 (11:02 +0000)]
Merge "Support for converting callchain profiles."

8 years agoboot_control_copy: Track the the bootloader_message struct change.
Tao Bao [Fri, 10 Jun 2016 05:40:05 +0000 (22:40 -0700)]
boot_control_copy: Track the the bootloader_message struct change.

Bug: 29193360
Change-Id: I518e786eb2d45b6a71c25dc4402e3bbebef20dc6

8 years agoMerge \\"postinst: Update comment to match implementation example.\\" am: 47600b7efd
Alex Deymo [Fri, 10 Jun 2016 04:02:20 +0000 (04:02 +0000)]
Merge \\"postinst: Update comment to match implementation example.\\" am: 47600b7efd
am: fa31c2c899

Change-Id: I96d62f4a8b607cba5fd6a763fd77e7a46f1dc547

8 years agoMerge \"postinst: Update comment to match implementation example.\"
Alex Deymo [Fri, 10 Jun 2016 03:59:36 +0000 (03:59 +0000)]
Merge \"postinst: Update comment to match implementation example.\"
am: 47600b7efd

Change-Id: I0ff2b20b3de03e08e3784e565d05e747718d34a3

8 years agoMerge "postinst: Update comment to match implementation example."
Treehugger Robot [Fri, 10 Jun 2016 03:50:12 +0000 (03:50 +0000)]
Merge "postinst: Update comment to match implementation example."

8 years agopostinst: Update comment to match implementation example.
Alex Deymo [Fri, 10 Jun 2016 01:09:43 +0000 (18:09 -0700)]
postinst: Update comment to match implementation example.

"set_progress" should be "global_progress" in the documentation as the
example shows.

Bug: 29223204
TEST=None

Change-Id: I01b2abb2ba500941e591515217533150ef05dd97

8 years agolibfec: return raw and corrected verity metadata signatures
Sami Tolvanen [Fri, 3 Jun 2016 20:56:07 +0000 (13:56 -0700)]
libfec: return raw and corrected verity metadata signatures

Since it's not possible for libfec to identify whether the signature
field was successfully corrected, return both and allow the caller to
validate either signature.

Bug: 28943429
Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19
(cherry picked from commit 65cbaeb020b209f3d75d594ebbe49a609dd3c7e7)

8 years agoDo not build multinetwork tools when targeting the PDK
Erik Kline [Tue, 7 Jun 2016 04:03:13 +0000 (04:03 +0000)]
Do not build multinetwork tools when targeting the PDK
am: 600c6341e6

* commit '600c6341e62c165c60f526174d965cc7f1b30c38':
  Do not build multinetwork tools when targeting the PDK

Change-Id: If2fcc9f0326ce63248b1845f26546baa894fcccd

8 years agoDo not build multinetwork tools when targeting the PDK
Erik Kline [Mon, 6 Jun 2016 21:57:12 +0000 (06:57 +0900)]
Do not build multinetwork tools when targeting the PDK

Bug: 29071416
Change-Id: Ie39cad3151907aabbf523895d6cde37b82ff29a2

8 years agoresolve merge conflicts of 65cbaeb to nyc-dev-plus-aosp
Sami Tolvanen [Tue, 7 Jun 2016 00:47:07 +0000 (17:47 -0700)]
resolve merge conflicts of 65cbaeb to nyc-dev-plus-aosp

Change-Id: I577f36d8f4588866606ef4b3f4b88d5af3505fbf

8 years agolibfec: return raw and corrected verity metadata signatures
Sami Tolvanen [Fri, 3 Jun 2016 20:56:07 +0000 (13:56 -0700)]
libfec: return raw and corrected verity metadata signatures

Since it's not possible for libfec to identify whether the signature
field was successfully corrected, return both and allow the caller to
validate either signature.

Bug: 28943429
Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19

8 years agoMerge "simpleperf: dump tracing data when needed." am: 86bebf8ff0
Yabin Cui [Fri, 3 Jun 2016 23:40:10 +0000 (23:40 +0000)]
Merge "simpleperf: dump tracing data when needed." am: 86bebf8ff0
am: 38ed5b4c0c

* commit '38ed5b4c0c4071c994bdccc5430eead4e3d47548':
  simpleperf: dump tracing data when needed.

Change-Id: I60403f2546c52caaedc25f670ea03d24cee75e5b

8 years agoMerge "simpleperf: dump tracing data when needed."
Yabin Cui [Fri, 3 Jun 2016 23:32:30 +0000 (23:32 +0000)]
Merge "simpleperf: dump tracing data when needed."
am: 86bebf8ff0

* commit '86bebf8ff08a2573ad505b93376b7fb15a3b1a56':
  simpleperf: dump tracing data when needed.

Change-Id: Ie420f316db839d60e09089a490b75a6e9093add6

8 years agoMerge "simpleperf: dump tracing data when needed."
Treehugger Robot [Fri, 3 Jun 2016 23:26:14 +0000 (23:26 +0000)]
Merge "simpleperf: dump tracing data when needed."

8 years agosimpleperf: dump tracing data when needed.
Yabin Cui [Thu, 2 Jun 2016 00:29:06 +0000 (17:29 -0700)]
simpleperf: dump tracing data when needed.

When monitoring tracepoint events, dump tracing data to perf.data
can enable reporting on a different machine.

Bug: 27403614
Change-Id: Ie1af624717a245cacbeb44b4c1bcd499fc9ad8db

8 years agoMerge "simpleperf: add report-sample command." am: 471ec60687
Yabin Cui [Fri, 3 Jun 2016 18:51:23 +0000 (18:51 +0000)]
Merge "simpleperf: add report-sample command." am: 471ec60687
am: ea9056d785

* commit 'ea9056d7857b79ee57283d07c61e2e832d58401d':
  simpleperf: add report-sample command.

Change-Id: I3567f6f79c5b5e09015eb114ea810c01298d2371

8 years agoMerge "simpleperf: add report-sample command."
Yabin Cui [Fri, 3 Jun 2016 18:30:43 +0000 (18:30 +0000)]
Merge "simpleperf: add report-sample command."
am: 471ec60687

* commit '471ec606874a7224e304482f5fa9cc7d207d26b8':
  simpleperf: add report-sample command.

Change-Id: Ibc209b97882ede350ced27fb025555227e44628d

8 years agoMerge "simpleperf: add report-sample command."
Treehugger Robot [Fri, 3 Jun 2016 18:02:14 +0000 (18:02 +0000)]
Merge "simpleperf: add report-sample command."

8 years agoSupport for converting callchain profiles.
Than McIntosh [Mon, 23 May 2016 15:07:08 +0000 (11:07 -0400)]
Support for converting callchain profiles.

Support conversion/logging of callchain profiles. A similar
change is already in place in google3.

Change-Id: Ibe5495b792f51a8aa010548d4d7ae9dd1aa40f72

8 years agosimpleperf: add report-sample command.
Yabin Cui [Fri, 3 Jun 2016 04:02:43 +0000 (21:02 -0700)]
simpleperf: add report-sample command.

1. Add report-sample command to report each sample with symbol information.
2. Add --dump-symbols option to record command to collect dso and symbol
information in perf.data.

Bug: 28114205

Change-Id: I37424ee6abd74a21ad41cd3b6c4249cf0625c201

8 years agoMerge "Handle additional record types in perf.data reader." am: d9aa9de346
Than McIntosh [Thu, 2 Jun 2016 18:50:02 +0000 (18:50 +0000)]
Merge "Handle additional record types in perf.data reader." am: d9aa9de346
am: 4ee0c018b3

* commit '4ee0c018b326327e25174f6be876686d21edb152':
  Handle additional record types in perf.data reader.

Change-Id: Ife09330d206ad18b161eb6ac392151803525fb18

8 years agoMerge "Handle additional record types in perf.data reader."
Than McIntosh [Thu, 2 Jun 2016 18:46:37 +0000 (18:46 +0000)]
Merge "Handle additional record types in perf.data reader."
am: d9aa9de346

* commit 'd9aa9de34638e46de141584bad9daf71c07ab678':
  Handle additional record types in perf.data reader.

Change-Id: I9ad532edb743d4e38f94c3ccf4f9981030323e22

8 years agoMerge "Handle additional record types in perf.data reader."
Than McIntosh [Thu, 2 Jun 2016 18:38:33 +0000 (18:38 +0000)]
Merge "Handle additional record types in perf.data reader."

8 years agoHandle additional record types in perf.data reader.
Than McIntosh [Wed, 1 Jun 2016 16:21:42 +0000 (12:21 -0400)]
Handle additional record types in perf.data reader.

Enhance the perf.data reader in perfprofd to handle the new kernel
symbol records that simpleperf generates. In addition, add support for
handling PERF_SAMPLE_REGS_USER and PERF_SAMPLE_STACK_USER records as
well (these wind up in perf.data files if callchain profiling is
used). Perfprofd doesn't need to look at any of the data in these
records, but it does need to be able to read past them.

Bug: 29067424
Bug: 29067428
Change-Id: I38c12f6a219a4d28afe50e0418d30cfdcd1a9222

8 years agoMerge "simpleperf: check perf event limit." am: 99bdc07d68
Yabin Cui [Thu, 2 Jun 2016 00:57:19 +0000 (00:57 +0000)]
Merge "simpleperf: check perf event limit." am: 99bdc07d68
am: ab5fb6833e

* commit 'ab5fb6833e1f10533db84946c07047167fc5e51e':
  simpleperf: check perf event limit.

Change-Id: I84c61612fe785840997355ff3166bf04331e1165

8 years agoMerge "simpleperf: check perf event limit."
Yabin Cui [Thu, 2 Jun 2016 00:53:57 +0000 (00:53 +0000)]
Merge "simpleperf: check perf event limit."
am: 99bdc07d68

* commit '99bdc07d68f744950292cf2fcd8af0c954d52eae':
  simpleperf: check perf event limit.

Change-Id: I3b770d6fe5eda4d0c5e8c0b4902459cf619e7992

8 years agoMerge "simpleperf: check perf event limit."
Yabin Cui [Thu, 2 Jun 2016 00:42:22 +0000 (00:42 +0000)]
Merge "simpleperf: check perf event limit."

8 years agosimpleperf: check perf event limit.
Yabin Cui [Wed, 1 Jun 2016 22:39:39 +0000 (15:39 -0700)]
simpleperf: check perf event limit.

The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that.

Bug: 29054680
Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686

8 years agoMerge "simpleperf: record kernel symbols in perf.data." am: 85a3e6e14f
Yabin Cui [Wed, 1 Jun 2016 19:09:34 +0000 (19:09 +0000)]
Merge "simpleperf: record kernel symbols in perf.data." am: 85a3e6e14f
am: efe23653d1

* commit 'efe23653d1da46e1ec5e5ec853d1ea6ad4258ed0':
  simpleperf: record kernel symbols in perf.data.

Change-Id: I14e38ce40ce7f3fc2e8ba59f76cf6727fe435aeb

8 years agoMerge "simpleperf: record kernel symbols in perf.data."
Yabin Cui [Wed, 1 Jun 2016 18:53:32 +0000 (18:53 +0000)]
Merge "simpleperf: record kernel symbols in perf.data."
am: 85a3e6e14f

* commit '85a3e6e14fd777b92199b2e39a3b80acd77a7a0f':
  simpleperf: record kernel symbols in perf.data.

Change-Id: I4c9a4a4ab2830211eea4e12cbac280dd7a629d3c

8 years agoMerge "simpleperf: record kernel symbols in perf.data."
Yabin Cui [Wed, 1 Jun 2016 18:27:57 +0000 (18:27 +0000)]
Merge "simpleperf: record kernel symbols in perf.data."

8 years agosimpleperf: record kernel symbols in perf.data.
Yabin Cui [Wed, 25 May 2016 21:08:05 +0000 (14:08 -0700)]
simpleperf: record kernel symbols in perf.data.

To better support kernel profiling, record kernel symbols in perf.data
when necessary. An option --no-dump-kernel-symbols is added in
record command to always avoid recording kernel symbols.
The way to handle all zero /proc/modules and /proc/kallsyms is
improved. Add Better support in finding symbols for kernel modules.

Bug: 27403614
Change-Id: I470151c54f8a45ad1c101c1b94490e33d7fd7485

8 years agoAdd multinetwork debugging tools, dnschk and httpurl
Erik Kline [Tue, 31 May 2016 04:53:18 +0000 (04:53 +0000)]
Add multinetwork debugging tools, dnschk and httpurl
am: 871e63d9b7

* commit '871e63d9b7e584bc398dd4aa983cf561a5e8394e':
  Add multinetwork debugging tools, dnschk and httpurl

Change-Id: I1afce6c0aaa0171b4e15b08d750f89b843b5b906

8 years agoAdd multinetwork debugging tools, dnschk and httpurl
Erik Kline [Fri, 22 Jan 2016 00:07:44 +0000 (09:07 +0900)]
Add multinetwork debugging tools, dnschk and httpurl

Bug: 19537384
Bug: 27199751
Bug: 28719525
Change-Id: Ie983ec12ac6c550fa76c89cd44343220688a99b4

8 years agoANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 am: 4b7f0...
Zhengyin Qian [Fri, 27 May 2016 18:12:15 +0000 (18:12 +0000)]
ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 am: 4b7f0b27a2
am: 27879586ff

* commit '27879586fff26d5ac1864f57bf441a39f8ab9315':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: Idbcbe2ac4603fe84f0cb58460cc8ac1c9b89d3c6

8 years agoANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33...
Zhengyin Qian [Fri, 27 May 2016 18:12:13 +0000 (18:12 +0000)]
ANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33 am: ecb5849a5d
am: 90ce7ac45f

* commit '90ce7ac45f183aad12151d691f82a4a9c9a78f2f':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: Id46f7b9f0b0390e529fe72eabf238a3c9dad9615

8 years agoANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: c33bbcd4c7
Zhengyin Qian [Fri, 27 May 2016 18:12:09 +0000 (18:12 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: c33bbcd4c7
am: 05d982d4ed

* commit '05d982d4edde37937c9a6fdb97e36a492e18f7d5':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: Ifbd7f11670bae8a3bc5bcc6366bd8f3dcf6a8472

8 years agoANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67
Zhengyin Qian [Fri, 27 May 2016 17:58:00 +0000 (17:58 +0000)]
ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67
am: 4b7f0b27a2

* commit '4b7f0b27a267e5e10894bbf438dec15e534e4cc4':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: I0ea20dd173cfaef70df4d07672810ca233fcb5f2

8 years agoANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33
Zhengyin Qian [Fri, 27 May 2016 17:57:56 +0000 (17:57 +0000)]
ANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33
am: ecb5849a5d

* commit 'ecb5849a5d8cc59828c66910f2096ac44e455ca3':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: Id35a4a5d9ccab90c0ab661e835fcd55787efa09a

8 years agoANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81
Zhengyin Qian [Fri, 27 May 2016 17:57:53 +0000 (17:57 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81
am: c33bbcd4c7

* commit 'c33bbcd4c7a2700f28af68a8673bec71ec92aacc':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: Ib6cc29b5ac94344c9c7a9766b6548563da060888

8 years agoANRdaemon: add README and a bash script to easily get trace.
Zhengyin Qian [Fri, 27 May 2016 17:50:50 +0000 (17:50 +0000)]
ANRdaemon: add README and a bash script to easily get trace.
am: 9e90477a67

* commit '9e90477a678b5b5fa6ac6dd7e78770746d6c50bf':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: Ief3f17421cc970a6b8676921b414d093c43ea880

8 years agoANRdaemon: add a few new trace options and poke all userland services
Zhengyin Qian [Fri, 27 May 2016 17:50:49 +0000 (17:50 +0000)]
ANRdaemon: add a few new trace options and poke all userland services
am: 5b42895d33

* commit '5b42895d33d72e74e3e3446e1d43fc541fbf404f':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: Ic1eac97f0b965cc8f1e2b73f26456975150acb48

8 years agoANRdaemon: increase the CPU threshold resolution to 0.01%
Zhengyin Qian [Fri, 27 May 2016 17:50:48 +0000 (17:50 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01%
am: 6d25c0bd81

* commit '6d25c0bd81eee66810339d5db3d1ecd48691d229':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: I4b8feac7f8908943ae543f096e97896e50963697

8 years agoANRdaemon: add README and a bash script to easily get trace.
Zhengyin Qian [Mon, 9 May 2016 18:40:18 +0000 (11:40 -0700)]
ANRdaemon: add README and a bash script to easily get trace.

Bug: 28989601
Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae

8 years agoANRdaemon: add a few new trace options and poke all userland services
Zhengyin Qian [Tue, 26 Apr 2016 22:14:27 +0000 (15:14 -0700)]
ANRdaemon: add a few new trace options and poke all userland services

Bug: 28989601
Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286

8 years agoANRdaemon: increase the CPU threshold resolution to 0.01%
Zhengyin Qian [Tue, 26 Apr 2016 18:57:16 +0000 (11:57 -0700)]
ANRdaemon: increase the CPU threshold resolution to 0.01%

Bug: 28989601
Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2

8 years agoMerge "simpleperf: refactor SampleTree for reuse." am: c8642b2dcf
Yabin Cui [Wed, 25 May 2016 21:20:32 +0000 (21:20 +0000)]
Merge "simpleperf: refactor SampleTree for reuse." am: c8642b2dcf
am: 1588c2ff30

* commit '1588c2ff30418f4df6d7b50251d232e8acdccc9d':
  simpleperf: refactor SampleTree for reuse.

Change-Id: Ie1c21522bb52f30cb0817574bfa9fa0c0ed5bdf9

8 years agoMerge "simpleperf: refactor SampleTree for reuse."
Yabin Cui [Wed, 25 May 2016 21:15:24 +0000 (21:15 +0000)]
Merge "simpleperf: refactor SampleTree for reuse."
am: c8642b2dcf

* commit 'c8642b2dcfd60f12a0cdbd1f9361967d264d2a3a':
  simpleperf: refactor SampleTree for reuse.

Change-Id: Ic5e6544480e0e898467c72401ccf8374b1542807

8 years agoMerge "simpleperf: refactor SampleTree for reuse."
Yabin Cui [Wed, 25 May 2016 21:07:19 +0000 (21:07 +0000)]
Merge "simpleperf: refactor SampleTree for reuse."

8 years agoMerge "simpleperf: remove unneeded file." am: 5dcf54a694
Yabin Cui [Wed, 25 May 2016 18:30:57 +0000 (18:30 +0000)]
Merge "simpleperf: remove unneeded file." am: 5dcf54a694
am: 42a2c7c305

* commit '42a2c7c305dcfca9c3e5d42e4e495a5e059f4b26':
  simpleperf: remove unneeded file.

Change-Id: Ibcc8fe4f8b1789a503b46ededc03c2b5ce6dd698

8 years agoMerge "simpleperf: remove unneeded file."
Yabin Cui [Wed, 25 May 2016 18:24:22 +0000 (18:24 +0000)]
Merge "simpleperf: remove unneeded file."
am: 5dcf54a694

* commit '5dcf54a6945f237fa9f3afbd76687359f1b018f9':
  simpleperf: remove unneeded file.

Change-Id: I4f23fe0fbf6f5a846a00eb22e4b2c27de4a4d0f9

8 years agoMerge "simpleperf: remove unneeded file."
Yabin Cui [Wed, 25 May 2016 17:28:39 +0000 (17:28 +0000)]
Merge "simpleperf: remove unneeded file."

8 years agosimpleperf: refactor SampleTree for reuse.
Yabin Cui [Wed, 25 May 2016 01:23:33 +0000 (18:23 -0700)]
simpleperf: refactor SampleTree for reuse.

By moving most function in report command into template classes, it
allows other report commands to reuse the code.

Bug: 27403614
Change-Id: I3d35b3a34d48c5c043ba4257a52eaf0961c12bca

8 years agosimpleperf: remove unneeded file.
Yabin Cui [Tue, 24 May 2016 23:51:45 +0000 (16:51 -0700)]
simpleperf: remove unneeded file.

Change-Id: I7cf5134834882dfe34ace94c0309f59012de4ecd

8 years agoMerge changes I26e290c0,I1b006d2a am: d603e616b9
Colin Cross [Tue, 24 May 2016 22:48:35 +0000 (22:48 +0000)]
Merge changes I26e290c0,I1b006d2a am: d603e616b9
am: a2632be956

* commit 'a2632be956cf05558cc7825830ffd5f9f093206d':
  Add oom score tracking to procrank
  C++-ify procrank

Change-Id: Ic2baa7e0144480a2400299e2b981c158e4709caa

8 years agoMerge changes I26e290c0,I1b006d2a
Colin Cross [Tue, 24 May 2016 22:45:52 +0000 (22:45 +0000)]
Merge changes I26e290c0,I1b006d2a
am: d603e616b9

* commit 'd603e616b917c098bf6b050138e7b7ce6054c07e':
  Add oom score tracking to procrank
  C++-ify procrank

Change-Id: Icc3e2762f8c46b5742176582abc09f624182ff51

8 years agoMerge changes I26e290c0,I1b006d2a
Colin Cross [Tue, 24 May 2016 22:41:06 +0000 (22:41 +0000)]
Merge changes I26e290c0,I1b006d2a

* changes:
  Add oom score tracking to procrank
  C++-ify procrank

8 years agoAdd oom score tracking to procrank
Colin Cross [Tue, 24 May 2016 18:05:31 +0000 (11:05 -0700)]
Add oom score tracking to procrank

procrank -o will sort by the oom score for each process, and show
cuumulative totals of memory stats for processes whose score is below
each lowmemorykiller oom score threshold.  This is particularly useful
with procrank -o -c to see the amount of page cache used lowmemorykiller
threshold.

Change-Id: I26e290c0835472630f70ed933de43bfbfd7bdfb0

8 years agoMerge "Fix misc-macro-parentheses warnings in testUtil.c." am: 974a3c74ab
Chih-Hung Hsieh [Tue, 24 May 2016 19:46:26 +0000 (19:46 +0000)]
Merge "Fix misc-macro-parentheses warnings in testUtil.c." am: 974a3c74ab
am: d2d7c446bd

* commit 'd2d7c446bd0481038824d8c07f044952209191ee':
  Fix misc-macro-parentheses warnings in testUtil.c.

Change-Id: I8175eb4e378a4837d683b32d0700b9361985c850

8 years agoMerge "Fix misc-macro-parentheses warnings in testUtil.c."
Chih-Hung Hsieh [Tue, 24 May 2016 19:38:15 +0000 (19:38 +0000)]
Merge "Fix misc-macro-parentheses warnings in testUtil.c."
am: 974a3c74ab

* commit '974a3c74ab0f8b5843178e8f02c48860d6c3e45c':
  Fix misc-macro-parentheses warnings in testUtil.c.

Change-Id: I9561c952932e29908ef65e7cfce635b6f2dc94b5

8 years agoC++-ify procrank
Colin Cross [Mon, 23 May 2016 23:50:59 +0000 (16:50 -0700)]
C++-ify procrank

Change-Id: I1b006d2af04f21c0c02ac2d7629340d91b876886

8 years agoMerge "Fix misc-macro-parentheses warnings in testUtil.c."
Treehugger Robot [Tue, 24 May 2016 18:34:19 +0000 (18:34 +0000)]
Merge "Fix misc-macro-parentheses warnings in testUtil.c."

8 years agoMerge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE" am: 362c8254bd
Dan Willemsen [Tue, 24 May 2016 00:07:24 +0000 (00:07 +0000)]
Merge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE" am: 362c8254bd
am: f5bfb71b89

* commit 'f5bfb71b8929335fe60828730795efcb65ed05d2':
  Use LOCAL_CTS_GTEST_LIST_EXECUTABLE

Change-Id: I1709e5cd82882cb937624ec8f48b383e32bf5cb4

8 years agoMerge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE"
Dan Willemsen [Tue, 24 May 2016 00:00:48 +0000 (00:00 +0000)]
Merge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE"
am: 362c8254bd

* commit '362c8254bd75473bd7b34b8fda7c25a5edfea996':
  Use LOCAL_CTS_GTEST_LIST_EXECUTABLE

Change-Id: I922467960904d9de38917bcbb3c56f25f1f5a05f

8 years agoMerge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE"
Treehugger Robot [Mon, 23 May 2016 23:47:53 +0000 (23:47 +0000)]
Merge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE"

8 years agoMerge "Fix misc-macro-parentheses warnings in f2fs_utils." am: ffc2f8b693
Chih-Hung Hsieh [Mon, 23 May 2016 23:16:39 +0000 (23:16 +0000)]
Merge "Fix misc-macro-parentheses warnings in f2fs_utils." am: ffc2f8b693
am: b62de1622b

* commit 'b62de1622b8c1c3c78c61cd0a38f734cb21414a0':
  Fix misc-macro-parentheses warnings in f2fs_utils.

Change-Id: If83096d559e1697e6a3bc7428064acab293bed15

8 years agoMerge "Fix misc-macro-parentheses warnings in f2fs_utils."
Chih-Hung Hsieh [Mon, 23 May 2016 23:11:49 +0000 (23:11 +0000)]
Merge "Fix misc-macro-parentheses warnings in f2fs_utils."
am: ffc2f8b693

* commit 'ffc2f8b6938a085d94038a5c7ba881361e97345a':
  Fix misc-macro-parentheses warnings in f2fs_utils.

Change-Id: I3df54e7e4b813c8b18e9eed4e8113decd8dbba73

8 years agoMerge "Fix misc-macro-parentheses warnings in f2fs_utils."
Treehugger Robot [Mon, 23 May 2016 22:56:05 +0000 (22:56 +0000)]
Merge "Fix misc-macro-parentheses warnings in f2fs_utils."

8 years agoFix misc-macro-parentheses warnings in f2fs_utils.
Chih-Hung Hsieh [Wed, 18 May 2016 21:59:04 +0000 (14:59 -0700)]
Fix misc-macro-parentheses warnings in f2fs_utils.

Bug: 28705665
Change-Id: I3341451eb77dd2539d70f3d3fa14f7eca188a63b