OSDN Git Service
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
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
Than McIntosh [Thu, 2 Jun 2016 18:38:33 +0000 (18:38 +0000)]
Merge "Handle 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
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
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
Yabin Cui [Thu, 2 Jun 2016 00:42:22 +0000 (00:42 +0000)]
Merge "simpleperf: 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
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
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
Yabin Cui [Wed, 1 Jun 2016 18:27:57 +0000 (18:27 +0000)]
Merge "simpleperf: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Yabin Cui [Wed, 25 May 2016 21:07:19 +0000 (21:07 +0000)]
Merge "simpleperf: refactor SampleTree for reuse."
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
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
Yabin Cui [Wed, 25 May 2016 17:28:39 +0000 (17:28 +0000)]
Merge "simpleperf: remove unneeded file."
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
Yabin Cui [Tue, 24 May 2016 23:51:45 +0000 (16:51 -0700)]
simpleperf: remove unneeded file.
Change-Id: I7cf5134834882dfe34ace94c0309f59012de4ecd
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
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
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
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
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
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
Colin Cross [Mon, 23 May 2016 23:50:59 +0000 (16:50 -0700)]
C++-ify procrank
Change-Id: I1b006d2af04f21c0c02ac2d7629340d91b876886
Treehugger Robot [Tue, 24 May 2016 18:34:19 +0000 (18:34 +0000)]
Merge "Fix misc-macro-parentheses warnings in testUtil.c."
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
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
Treehugger Robot [Mon, 23 May 2016 23:47:53 +0000 (23:47 +0000)]
Merge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE"
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
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
Treehugger Robot [Mon, 23 May 2016 22:56:05 +0000 (22:56 +0000)]
Merge "Fix 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
Dan Willemsen [Mon, 23 May 2016 20:58:49 +0000 (13:58 -0700)]
Use LOCAL_CTS_GTEST_LIST_EXECUTABLE
In preparation to move host native tests to their own folder, stop
assuming the location of the test list executable in
BUILD_CTS_EXECUTABLE.
Change-Id: I79004a21ffc7edc5cf0d8111ea9e9a8c0f782d98
Chih-hung Hsieh [Thu, 19 May 2016 18:37:15 +0000 (18:37 +0000)]
Merge "Fix misc-macro-parentheses warnings in kexec_tools." am:
b5769be9cd
am:
ee3165fc77
* commit '
ee3165fc77a65854f0d32e7c8343c380879d4f40':
Fix misc-macro-parentheses warnings in kexec_tools.
Change-Id: I8809350121ea1fc2d7d6072c4720cc48a62619c7
Chih-Hung Hsieh [Thu, 19 May 2016 18:34:40 +0000 (18:34 +0000)]
Merge "Fix misc-macro-parentheses warnings in kexec_tools."
am:
b5769be9cd
* commit '
b5769be9cd537023d632e622d879d17c277b2f1a':
Fix misc-macro-parentheses warnings in kexec_tools.
Change-Id: Id0515b8db4df3bb61ba3eb9eb8b056e4b268e135
Chih-hung Hsieh [Thu, 19 May 2016 18:16:38 +0000 (18:16 +0000)]
Merge "Fix misc-macro-parentheses warnings in kexec_tools."
Chih-hung Hsieh [Thu, 19 May 2016 01:02:54 +0000 (01:02 +0000)]
Merge "Fix misc-macro-parentheses warnings in ksmutils." am:
15a4592c73
am:
6161ac9bd8
* commit '
6161ac9bd8fea37ef7a79435bfc2fe7753a4adc4':
Fix misc-macro-parentheses warnings in ksmutils.
Change-Id: I82af3cfae5878e6c2f1e726107735d6dd38a98aa
Chih-Hung Hsieh [Thu, 19 May 2016 01:00:17 +0000 (01:00 +0000)]
Merge "Fix misc-macro-parentheses warnings in ksmutils."
am:
15a4592c73
* commit '
15a4592c733bcf45e6d0bbf53687a3bb60e18ff3':
Fix misc-macro-parentheses warnings in ksmutils.
Change-Id: If45775b1e3befe8622f40d1fa019aea25b6748f6
Chih-hung Hsieh [Thu, 19 May 2016 00:48:13 +0000 (00:48 +0000)]
Merge "Fix misc-macro-parentheses warnings in ksmutils."
Chih-Hung Hsieh [Wed, 18 May 2016 23:51:47 +0000 (23:51 +0000)]
Merge "Fix misc-macro-parentheses warnings in boot_control_copy." am:
d44add2ce7
am:
0bf2983a25
* commit '
0bf2983a25d7a2f42086bea7f4c1da46458248d4':
Fix misc-macro-parentheses warnings in boot_control_copy.
Change-Id: Iebc57f4c07ededf2c02822c0d3789f5ac961b547
Chih-Hung Hsieh [Wed, 18 May 2016 23:51:46 +0000 (23:51 +0000)]
Merge "Fix misc-macro-parentheses warnings in ext4_utils." am:
df7471f264
am:
57884319ef
* commit '
57884319ef0f84b70f7fb89d40ef4b1c3c1b2eb5':
Fix misc-macro-parentheses warnings in ext4_utils.
Change-Id: Ic6c91ae0db29d8f650ef76786832d4b887baf9f1
Chih-Hung Hsieh [Wed, 18 May 2016 23:49:06 +0000 (23:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in boot_control_copy."
am:
d44add2ce7
* commit '
d44add2ce720d855a2489b7975bb3b67e5965646':
Fix misc-macro-parentheses warnings in boot_control_copy.
Change-Id: I6e05a9d9e16ba41370487b86a8053d6666cd8b6f
Chih-Hung Hsieh [Wed, 18 May 2016 23:49:04 +0000 (23:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in ext4_utils."
am:
df7471f264
* commit '
df7471f2648d56047567231349619037f8a7f32d':
Fix misc-macro-parentheses warnings in ext4_utils.
Change-Id: I5286c6a4a3fff31c75a38d6f9a4081b9fda469e5
Treehugger Robot [Wed, 18 May 2016 23:31:53 +0000 (23:31 +0000)]
Merge "Fix misc-macro-parentheses warnings in boot_control_copy."
Treehugger Robot [Wed, 18 May 2016 23:24:37 +0000 (23:24 +0000)]
Merge "Fix misc-macro-parentheses warnings in ext4_utils."
Chih-Hung Hsieh [Wed, 18 May 2016 22:54:03 +0000 (22:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in perfprofd." am:
0cc5fdb235
am:
f5ee66f7d1
* commit '
f5ee66f7d1916bed1c0b2f68f6ee2e041a4f677a':
Fix misc-macro-parentheses warnings in perfprofd.
Change-Id: I00f7971450875a653ab489f62556cf51d8497f61
Chih-Hung Hsieh [Wed, 18 May 2016 22:54:02 +0000 (22:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in libpagemap." am:
36740f5359
am:
209afb497e
* commit '
209afb497ef2c35645950253bd4aa728f8110b98':
Fix misc-macro-parentheses warnings in libpagemap.
Change-Id: Ia2e7aa3beac0530d229426fc3e0804cc6a8f9dfa
Chih-Hung Hsieh [Wed, 18 May 2016 22:54:01 +0000 (22:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in micro_bench." am:
d1d00bf1fa
am:
70f7b129df
* commit '
70f7b129dfd5b6c591b7314b1c00bc118656ede0':
Fix misc-macro-parentheses warnings in micro_bench.
Change-Id: I0815b97b6b1cf0609a77f82fdcda0f2bb95662bc
Chih-Hung Hsieh [Wed, 18 May 2016 22:54:00 +0000 (22:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in simpleperf." am:
dd3a47075f
am:
74a683adfd
* commit '
74a683adfd66f2c5ca989e10eecaaae1b508083b':
Fix misc-macro-parentheses warnings in simpleperf.
Change-Id: Ida4d0d31fd16e5b51fb2585ffc84b482f8f91214
Chih-Hung Hsieh [Wed, 18 May 2016 22:49:26 +0000 (22:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in perfprofd."
am:
0cc5fdb235
* commit '
0cc5fdb23550ba0765738d81d20378add5f83a2c':
Fix misc-macro-parentheses warnings in perfprofd.
Change-Id: I1ca6704e34f18280173e4e0f157e31ae59119442
Chih-Hung Hsieh [Wed, 18 May 2016 22:49:22 +0000 (22:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in libpagemap."
am:
36740f5359
* commit '
36740f535929efb455423537e97eac7e10f73eee':
Fix misc-macro-parentheses warnings in libpagemap.
Change-Id: I50f4cb5b79c3d3bed70bf3083503e6c56a615833
Chih-Hung Hsieh [Wed, 18 May 2016 22:49:16 +0000 (22:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in micro_bench."
am:
d1d00bf1fa
* commit '
d1d00bf1fab703b8dfc5ab6a5c240e9b433825e0':
Fix misc-macro-parentheses warnings in micro_bench.
Change-Id: I993e5e50052fd841107f80d73c15f7b605a5313d
Chih-Hung Hsieh [Wed, 18 May 2016 22:49:04 +0000 (22:49 +0000)]
Merge "Fix misc-macro-parentheses warnings in simpleperf."
am:
dd3a47075f
* commit '
dd3a47075f253d5abcca0b08fd5919adba237fd9':
Fix misc-macro-parentheses warnings in simpleperf.
Change-Id: Idcd285e1461b6ad691b234ff13406169fe8d6ccc
Treehugger Robot [Wed, 18 May 2016 22:43:49 +0000 (22:43 +0000)]
Merge "Fix misc-macro-parentheses warnings in perfprofd."
Treehugger Robot [Wed, 18 May 2016 22:42:08 +0000 (22:42 +0000)]
Merge "Fix misc-macro-parentheses warnings in libpagemap."
Treehugger Robot [Wed, 18 May 2016 22:40:28 +0000 (22:40 +0000)]
Merge "Fix misc-macro-parentheses warnings in micro_bench."
Treehugger Robot [Wed, 18 May 2016 22:24:21 +0000 (22:24 +0000)]
Merge "Fix misc-macro-parentheses warnings in simpleperf."
Chih-Hung Hsieh [Wed, 18 May 2016 22:03:01 +0000 (15:03 -0700)]
Fix misc-macro-parentheses warnings in boot_control_copy.
Bug:
28705665
Change-Id: I9a8f0bd587c70ff3c60666c9f7dfba2d6e809336
Chih-Hung Hsieh [Wed, 18 May 2016 22:00:49 +0000 (15:00 -0700)]
Fix misc-macro-parentheses warnings in ext4_utils.
Bug:
28705665
Change-Id: I00da37172c5c8ba37e09a9a5e6a47e9f7446efea
Chih-Hung Hsieh [Wed, 18 May 2016 21:55:10 +0000 (14:55 -0700)]
Fix misc-macro-parentheses warnings in kexec_tools.
Bug:
28705665
Change-Id: Ie9f5ffafd9a89f412d7a6495002ada50f18b645e
Chih-Hung Hsieh [Wed, 18 May 2016 21:52:05 +0000 (14:52 -0700)]
Fix misc-macro-parentheses warnings in ksmutils.
Bug:
28705665
Change-Id: Ia3d9f1fef03afe1b0075ea88e61b721e35d13465
Chih-Hung Hsieh [Wed, 18 May 2016 21:49:08 +0000 (14:49 -0700)]
Fix misc-macro-parentheses warnings in libpagemap.
Bug:
28705665
Change-Id: I3a40229aeba12b3fb643770c92039a2af1e4a441
Chih-Hung Hsieh [Wed, 18 May 2016 21:46:31 +0000 (14:46 -0700)]
Fix misc-macro-parentheses warnings in micro_bench.
Bug:
28705665
Change-Id: I04d393ae608a7b803001f763c544fc13e8f2e9e6
Chih-Hung Hsieh [Wed, 18 May 2016 21:40:58 +0000 (14:40 -0700)]
Fix misc-macro-parentheses warnings in perfprofd.
NOLINT added to suppress warning.
Some macros intentionally leave the last sub-expression open,
without parenthesis around the whole conditional expression.
Bug:
28705665
Change-Id: I0c1abbdc147ad480345792cef0081d98c013a3ab
Chih-Hung Hsieh [Wed, 18 May 2016 21:36:58 +0000 (14:36 -0700)]
Fix misc-macro-parentheses warnings in simpleperf.
Bug:
28705665
Change-Id: I0521602cbca7eb3d2e242771da697dfab3fc727f
Chih-Hung Hsieh [Wed, 18 May 2016 21:28:55 +0000 (14:28 -0700)]
Fix misc-macro-parentheses warnings in testUtil.c.
Bug:
28705665
Change-Id: I709ae08e15e5afb067bf9b208664107a449e1de3
Rom Lemarchand [Tue, 17 May 2016 18:37:44 +0000 (18:37 +0000)]
Merge "pagingtest: test both with prefetching enabled and disabled" am:
517567d189
am:
6f5e9b117c
* commit '
6f5e9b117c173358397acdac87dd501a84ae6861':
pagingtest: test both with prefetching enabled and disabled
Change-Id: I3608c8bf05f144742d34402fbb9109ae3a3dd26b
Rom Lemarchand [Tue, 17 May 2016 18:37:44 +0000 (18:37 +0000)]
Merge "pagingtest: switch to advising random accesses" am:
5263409f21
am:
682242bc44
* commit '
682242bc4491f75168b8c7469a4bbba59d24f99b':
pagingtest: switch to advising random accesses
Change-Id: Ib916350d037aed877d95820b864d5fdf66f8ef4d
Rom Lemarchand [Tue, 17 May 2016 18:34:59 +0000 (18:34 +0000)]
Merge "pagingtest: test both with prefetching enabled and disabled"
am:
517567d189
* commit '
517567d1893ee5542ab5de1675fb13a6ad3c194e':
pagingtest: test both with prefetching enabled and disabled
Change-Id: I36b56e29dc40850311f555163dbade8a1cc6270d
Rom Lemarchand [Tue, 17 May 2016 18:34:58 +0000 (18:34 +0000)]
Merge "pagingtest: switch to advising random accesses"
am:
5263409f21
* commit '
5263409f213c63366a1cd6a2af9307eab65f6fbf':
pagingtest: switch to advising random accesses
Change-Id: Ib6e335f9614d1cfdfa9c2794b17d0b30b62e8a3f
Rom Lemarchand [Tue, 17 May 2016 18:18:27 +0000 (18:18 +0000)]
Merge "pagingtest: test both with prefetching enabled and disabled"
Rom Lemarchand [Tue, 17 May 2016 18:17:38 +0000 (18:17 +0000)]
Merge "pagingtest: switch to advising random accesses"
Rom Lemarchand [Tue, 17 May 2016 17:10:18 +0000 (10:10 -0700)]
pagingtest: test both with prefetching enabled and disabled
Run the same tests with page cache prefetching both enabled and disabled.
Change-Id: Ica253781a17fa0a66c07d0f5658c6c7d8b047a16
Yabin Cui [Tue, 17 May 2016 16:48:56 +0000 (16:48 +0000)]
Merge "simpleperf: fix stat scale output." am:
5767273e98
am:
c6a9228f27
* commit '
c6a9228f276736d69905facff4c5068317c33c6e':
simpleperf: fix stat scale output.
Change-Id: Ia5baf75dd3d20330f09a4029dae5b7ae477cc72c
Yabin Cui [Tue, 17 May 2016 16:46:33 +0000 (16:46 +0000)]
Merge "simpleperf: fix stat scale output."
am:
5767273e98
* commit '
5767273e98eb1a17827f0eb95612fb3fb4d6f12c':
simpleperf: fix stat scale output.
Change-Id: I7fbd77aa36046827b81e866c2eb1ecc53e4a60ba
Yabin Cui [Tue, 17 May 2016 16:39:03 +0000 (16:39 +0000)]
Merge "simpleperf: fix stat scale output."
Rom Lemarchand [Tue, 17 May 2016 03:17:41 +0000 (20:17 -0700)]
pagingtest: switch to advising random accesses
Switch to using madvise(MADV_RANDOM) and posix_fadvise(POSIX_FADV_RANDOM)
to disable caching as opposed to reading the file backwards, which still
went through some caching.
Measured a 80% drop in worst case performance after switching.
Change-Id: I03115dfb94ae7dfc58e0e187af3936c4e371817f
Yabin Cui [Tue, 17 May 2016 03:07:26 +0000 (20:07 -0700)]
simpleperf: fix stat scale output.
Currently simpleperf stat command create an event file for each cpu and
scale the result by summarizing counters on each cpu. But one thread only
runs on one cpu at a time, so it results in wrongly scaled numbers.
Fix this by three changes:
1. For non system-wide stat, Create only one event file for all cpus.
2. When summarizing counters, omit counters having 0 running time.
3. Print real value instead of scaled value.
Run command:
$simpleperf stat ./empty_program
Before the change:
Performance counter statistics:
33,540,176 cpu-cycles # 54.812986 GHz (2%)
28,233,348 stalled-cycles-frontend # 46.140 G/sec (2%)
After the change:
Performance counter statistics:
625,335 cpu-cycles # 1.404496 GHz (100%)
507,200 stalled-cycles-frontend # 1.139 G/sec (100%)
Change-Id: I76bc3e220df4f149ab365e960295b24fde8ae2fc
Xin Li [Fri, 13 May 2016 20:22:03 +0000 (13:22 -0700)]
resolve merge conflicts of
2107558 to nyc-dev-plus-aosp
Change-Id: Icdabd960bfab6d6d683b1dc01bc2795ccfb5bcde
Mohamad Ayyash [Fri, 13 May 2016 18:22:59 +0000 (18:22 +0000)]
Merge "Remove canned_fs_config from ext4_utils"
am:
b1b964214b
* commit '
b1b964214babaddd0f0bd758c54f7fac4fbe4bf7':
Remove canned_fs_config from ext4_utils
Change-Id: Ied3b2507e6462f2e64a135c4ceca2a4c18320253
Treehugger Robot [Fri, 13 May 2016 18:13:22 +0000 (18:13 +0000)]
Merge "Remove canned_fs_config from ext4_utils"
Mark Salyzyn [Fri, 13 May 2016 16:49:26 +0000 (16:49 +0000)]
Merge "lockdep_chains: graph visualization" am:
bfe42baeae
am:
b50ec7f672
* commit '
b50ec7f672ab8d54a5f10e09db3d3e190b9bb6a8':
lockdep_chains: graph visualization
Change-Id: I35bdaa5a8993b7c67f267952354fa8f8cffedb65
Mark Salyzyn [Fri, 13 May 2016 16:46:55 +0000 (16:46 +0000)]
Merge "lockdep_chains: graph visualization"
am:
bfe42baeae
* commit '
bfe42baeaea18fd633b047a2464b482d1660bdf4':
lockdep_chains: graph visualization
Change-Id: I6d9ce11582e0e3e3e045c89dde50238477945aeb