OSDN Git Service
android-build-team Robot [Wed, 21 Mar 2018 07:27:49 +0000 (07:27 +0000)]
Snap for
4667902 from
56f68caff62f404cff5491b3e84e3d031781db32 to pi-release
Change-Id: I1ca58c9de3c720c2c020a24980ea4b51d4ce330c
Andreas Gampe [Tue, 20 Mar 2018 16:40:12 +0000 (09:40 -0700)]
Timetest: Clean up
Clean up the code a little.
The removed TEMP_FAILURE_RETRY is actually wrong. The others are either
superfluous or needed.
Be more direct with error returns.
For EBUSY, loop at most ten times, with sleep.
Use unique_fd for descriptor tracking/close.
(cherry picked from commit
e4944b10a24c39d9aaba7e1093d91438ddf90d09)
Bug:
76008092
Test: atest time-unit-tests
Merged-In: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5
Change-Id: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5
android-build-team Robot [Tue, 27 Feb 2018 08:28:25 +0000 (08:28 +0000)]
Snap for
4623514 from
d811b027242d89b8688a851ed33286cbe1853539 to pi-release
Change-Id: I5380054d709b69b4ff70662106a8fd326a77d471
Yabin Cui [Mon, 26 Feb 2018 22:00:56 +0000 (22:00 +0000)]
Merge "simpleperf: flush output before quick_exit." am:
8e57dc74b0 am:
fd2f327219
am:
508badeb8a
Change-Id: I660c171503972ce85331e42d447ca4822677ce2e
Yabin Cui [Mon, 26 Feb 2018 21:52:54 +0000 (21:52 +0000)]
Merge "simpleperf: flush output before quick_exit." am:
8e57dc74b0
am:
fd2f327219
Change-Id: I0650f008511d44f45a45d822e434ffeba8fa8658
Yabin Cui [Mon, 26 Feb 2018 21:45:49 +0000 (21:45 +0000)]
Merge "simpleperf: flush output before quick_exit."
am:
8e57dc74b0
Change-Id: Ib4d9514131ed23989d5ce35424548a1d17be54c3
Yabin Cui [Mon, 26 Feb 2018 21:32:55 +0000 (21:32 +0000)]
Merge "simpleperf: flush output before quick_exit."
Yabin Cui [Mon, 26 Feb 2018 20:12:44 +0000 (12:12 -0800)]
simpleperf: flush output before quick_exit.
Bug: http://b/
73875722
Test: run simpleperf manually.
Change-Id: I010c8612b18cd4034199440cb178d9d9cc8f0ff4
android-build-team Robot [Sun, 25 Feb 2018 08:23:52 +0000 (08:23 +0000)]
Snap for
4620899 from
455bdd3ae707763d3b13a4fc1e6d91d781bc5ce1 to pi-release
Change-Id: I6b5e8752b3a9e413a863c2a73e73ecbf698a1544
Yabin Cui [Sat, 24 Feb 2018 00:00:54 +0000 (00:00 +0000)]
Merge "simpleperf: use quick_exit." am:
aa6d306692 am:
888a6f522e
am:
0e995e4fb4
Change-Id: I5910ee1d1c2ce870432bbe2a9a6f6ab78759c45e
Yabin Cui [Fri, 23 Feb 2018 23:55:20 +0000 (23:55 +0000)]
Merge "simpleperf: use quick_exit." am:
aa6d306692
am:
888a6f522e
Change-Id: I5aba8b7c060b8267e701ed90d2d3ce1f59baa0e6
Yabin Cui [Fri, 23 Feb 2018 23:48:39 +0000 (23:48 +0000)]
Merge "simpleperf: use quick_exit."
am:
aa6d306692
Change-Id: I4160fc99fc9b492c93c960b27ea6c5663eceb2d2
Yabin Cui [Fri, 23 Feb 2018 23:36:30 +0000 (23:36 +0000)]
Merge "simpleperf: use quick_exit."
David Srbecky [Fri, 23 Feb 2018 19:59:15 +0000 (19:59 +0000)]
Merge "Create maps for libunwind only if they changed." am:
e92a2d8a43 am:
ddd9efdc77
am:
649577cdb0
Change-Id: I69d8df1380e8793aeaa24456518d897e59c30cae
David Srbecky [Fri, 23 Feb 2018 19:53:27 +0000 (19:53 +0000)]
Merge "Create maps for libunwind only if they changed." am:
e92a2d8a43
am:
ddd9efdc77
Change-Id: I09e8cbc1d90967a77dc1e8192e36dd9d7a3d84ce
David Srbecky [Fri, 23 Feb 2018 19:42:48 +0000 (19:42 +0000)]
Merge "Create maps for libunwind only if they changed."
am:
e92a2d8a43
Change-Id: Ib7a12adb6503814f2290eb28fc23d4ba1a729eac
David Srbecky [Fri, 23 Feb 2018 19:25:02 +0000 (19:25 +0000)]
Merge "Create maps for libunwind only if they changed."
Yabin Cui [Fri, 23 Feb 2018 19:03:35 +0000 (11:03 -0800)]
simpleperf: use quick_exit.
Bug: none
Test: run simpleperf_unit_test.
Test: run simpleperf manually.
Change-Id: I5e7229c8d5bfc4d47a6b7e403e627137c7f36b55
Christopher Ferris [Fri, 23 Feb 2018 03:06:42 +0000 (19:06 -0800)]
Create maps for libunwind only if they changed.
Increases speed (unwinds per second) by 50%.
Bug: None
Test: manual - took a profile
Test: run simpleperf_unit_test.
Change-Id: I254f70a011c1b3d31bbd4e9e4bb9e85fbf2ffbdf
Nan Zhang [Thu, 22 Feb 2018 22:28:16 +0000 (22:28 +0000)]
Merge "Fix the build failure for iot targets in master-iot-dev" am:
6e7c4df7cc am:
7887ff0b10
am:
07411b9a2e
Change-Id: I7d148c69b253a9ee10e73e30dc81ec4fc51fa4f4
Nan Zhang [Thu, 22 Feb 2018 22:09:42 +0000 (22:09 +0000)]
Merge "Fix the build failure for iot targets in master-iot-dev" am:
6e7c4df7cc
am:
7887ff0b10
Change-Id: I3cf9e3ff4dfec75e6aeaa63785c519ccddf2a284
Nan Zhang [Thu, 22 Feb 2018 21:46:14 +0000 (21:46 +0000)]
Merge "Fix the build failure for iot targets in master-iot-dev"
am:
6e7c4df7cc
Change-Id: Ib1edbe4cb9c05c515ba3c35da92529d4715999f9
Treehugger Robot [Thu, 22 Feb 2018 19:37:04 +0000 (19:37 +0000)]
Merge "Fix the build failure for iot targets in master-iot-dev"
Nan Zhang [Thu, 22 Feb 2018 17:48:12 +0000 (09:48 -0800)]
Fix the build failure for iot targets in master-iot-dev
Fix:
system/extras/brillo_config/Android.mk:83: error: $(file ...)
is not supported in rules.
Test: m -j32
Bug: b/
73753971
Change-Id: I96099be887f404042c28d3fa1c9f4a2e12ce1222
android-build-team Robot [Thu, 22 Feb 2018 08:26:20 +0000 (08:26 +0000)]
Snap for
4615953 from
aac48e36d710f2528d59b457dd35305086fed5b4 to pi-release
Change-Id: I7bde37833f279495bf1a6fca21e8e970d9e2a1f3
Nan Zhang [Thu, 22 Feb 2018 02:37:01 +0000 (02:37 +0000)]
Merge "Use HAS_BUILD_NUMBER to check engineering build" am:
e8b6340578 am:
d17f00fa1e
am:
3d9a3af951
Change-Id: Ia8eafb9049ebf0852c7885eab41bcc1a4f6af5e1
Nan Zhang [Thu, 22 Feb 2018 02:29:44 +0000 (02:29 +0000)]
Merge "Use HAS_BUILD_NUMBER to check engineering build" am:
e8b6340578
am:
d17f00fa1e
Change-Id: If8b52041b2c4f41a04862a82c3c3233e22fa381f
Nan Zhang [Thu, 22 Feb 2018 02:21:37 +0000 (02:21 +0000)]
Merge "Use HAS_BUILD_NUMBER to check engineering build"
am:
e8b6340578
Change-Id: I24db4e7ee8fbeddf5c66078f97387fb0c7e26fcb
Treehugger Robot [Thu, 22 Feb 2018 02:07:15 +0000 (02:07 +0000)]
Merge "Use HAS_BUILD_NUMBER to check engineering build"
Christopher Ferris [Wed, 21 Feb 2018 20:48:18 +0000 (20:48 +0000)]
Merge "Skips symbolization." am:
9c5b95eca5 am:
4bc2975e86
am:
3becc555bc
Change-Id: Ia27b5c2ee8c87b4e9f2814309c79570e1c20c1a8
Christopher Ferris [Wed, 21 Feb 2018 20:41:40 +0000 (20:41 +0000)]
Merge "Skips symbolization." am:
9c5b95eca5
am:
4bc2975e86
Change-Id: I6cfa194cb5340bf1c5bc688acaef03884e07277e
Christopher Ferris [Wed, 21 Feb 2018 20:34:01 +0000 (20:34 +0000)]
Merge "Skips symbolization."
am:
9c5b95eca5
Change-Id: Iaa0c661d1cf86282b0b90aef35be43c8a9d5a8b4
Christopher Ferris [Wed, 21 Feb 2018 20:13:24 +0000 (20:13 +0000)]
Merge "Skips symbolization."
Nan Zhang [Tue, 20 Feb 2018 21:11:27 +0000 (13:11 -0800)]
Use HAS_BUILD_NUMBER to check engineering build
And use BUILD_NUMBER_FROM_FILE instead of BUILD_NUMBER to reduce build
reruns.
Test: m -j32
Bug: b/
70351683
Change-Id: Ic2a6e2095712828c8314fdd5fca7669f2fb88bc3
Christopher Ferris [Tue, 20 Feb 2018 21:59:50 +0000 (13:59 -0800)]
Skips symbolization.
Bug:
73558129
Test: Passes unit tests.
Change-Id: I7cbe618f622b540abf486777f0d40a18f890dbef
android-build-team Robot [Sun, 18 Feb 2018 08:24:07 +0000 (08:24 +0000)]
Snap for
4610834 from
59d5c6054f4e37779d86030a747cc25abca7b2f4 to pi-release
Change-Id: I3208f4b5c96378af301736389c376d6e4754dd71
Nan Zhang [Thu, 15 Feb 2018 23:00:15 +0000 (23:00 +0000)]
Merge "Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config" am:
dc282ead05 am:
00511dc9b8
am:
9cda0b80d6
Change-Id: I8a3a04527d4899180965e016085ae941f160cdff
Yabin Cui [Thu, 15 Feb 2018 22:59:59 +0000 (22:59 +0000)]
Merge "simpleperf: fix cmd_debug_unwind tests." am:
01b1cb727c am:
1248532bf6
am:
c9af49c26a
Change-Id: Ib4115df73b2b94e1811c68906af182aeef919553
Nan Zhang [Thu, 15 Feb 2018 22:53:28 +0000 (22:53 +0000)]
Merge "Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config" am:
dc282ead05
am:
00511dc9b8
Change-Id: I45879f283f66d2ba75e9c67a5019ace83da7d8a8
Yabin Cui [Thu, 15 Feb 2018 22:53:12 +0000 (22:53 +0000)]
Merge "simpleperf: fix cmd_debug_unwind tests." am:
01b1cb727c
am:
1248532bf6
Change-Id: I61d113a556322b8d430218b04e2e9ea5c4b4c8ec
Nan Zhang [Thu, 15 Feb 2018 22:46:56 +0000 (22:46 +0000)]
Merge "Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config"
am:
dc282ead05
Change-Id: Idaa13d35243e51c09b19cbdaaacf0e6d7d5ad89e
Yabin Cui [Thu, 15 Feb 2018 22:46:41 +0000 (22:46 +0000)]
Merge "simpleperf: fix cmd_debug_unwind tests."
am:
01b1cb727c
Change-Id: I83188af1a6461f684270f356ac8b7a9e90e4e09f
Treehugger Robot [Thu, 15 Feb 2018 22:30:49 +0000 (22:30 +0000)]
Merge "Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config"
Yabin Cui [Thu, 15 Feb 2018 18:13:12 +0000 (18:13 +0000)]
Merge "simpleperf: fix cmd_debug_unwind tests."
android-build-team Robot [Thu, 15 Feb 2018 08:24:16 +0000 (08:24 +0000)]
Snap for
4605948 from
d809650e33ad0092ffdd42e457cef4ea52edfb73 to pi-release
Change-Id: I0cd626d6494a26bbb2711852f1af26d76f534ef2
Yabin Cui [Thu, 15 Feb 2018 00:02:32 +0000 (00:02 +0000)]
Merge "simpleperf: fix --interval option in system wide stating." am:
f40afd79e8 am:
0380f21201
am:
c95e87aa33
Change-Id: Ifba72749f22ffa63a34f24397ac2d60ada7f6786
Yabin Cui [Wed, 14 Feb 2018 23:56:29 +0000 (23:56 +0000)]
Merge "simpleperf: fix --interval option in system wide stating." am:
f40afd79e8
am:
0380f21201
Change-Id: Ib2b927888660b7c444cb69b7fb05ab624ae437d8
Yabin Cui [Wed, 14 Feb 2018 23:51:26 +0000 (23:51 +0000)]
Merge "simpleperf: fix --interval option in system wide stating."
am:
f40afd79e8
Change-Id: I730719cd4c0495f5a2939b3defe664d34977110e
Yabin Cui [Wed, 14 Feb 2018 23:38:31 +0000 (23:38 +0000)]
Merge "simpleperf: fix --interval option in system wide stating."
Yabin Cui [Wed, 14 Feb 2018 23:28:59 +0000 (15:28 -0800)]
simpleperf: fix cmd_debug_unwind tests.
Without flushing stdout, the tests may fail when
running `adb shell simpleperf_unit_test`.
Bug: none
Test: run `adb shell simpleperf_unit_test`.
Change-Id: I8bcf739e7672e8affc71df0a3f11264c0bd7f745
Nan Zhang [Wed, 14 Feb 2018 21:29:12 +0000 (13:29 -0800)]
Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config
Soong_UI will handle build timestamp and export date file to Make.
Test: m -j32
Bug: b/
70351683
Change-Id: I09ac0117c899afadf28e562d83e95f3132a47e20
Chih-hung Hsieh [Wed, 14 Feb 2018 21:45:39 +0000 (21:45 +0000)]
Merge "Declare explicitly thumb mode." am:
01ba2e6ed6 am:
79829a764f
am:
7e56c8eeb0
Change-Id: Ice73848e2a83bc7ad7bb11dde80cfd77f5f9e70c
Yabin Cui [Wed, 14 Feb 2018 21:41:03 +0000 (13:41 -0800)]
simpleperf: fix --interval option in system wide stating.
Bug: none
Test: run simpleperf_unit_test.
Change-Id: Ida90ecd465e5c63f0f813cde63d70acfeb1281da
Chih-hung Hsieh [Wed, 14 Feb 2018 21:31:43 +0000 (21:31 +0000)]
Merge "Declare explicitly thumb mode." am:
01ba2e6ed6
am:
79829a764f
Change-Id: I67e0e31574dc18fd6a9daa5419246cc55d3db442
Chih-hung Hsieh [Wed, 14 Feb 2018 21:21:38 +0000 (21:21 +0000)]
Merge "Declare explicitly thumb mode."
am:
01ba2e6ed6
Change-Id: I23a89021e5cb21e181bd529a1a854d204231e5c6
Chih-hung Hsieh [Wed, 14 Feb 2018 20:57:14 +0000 (20:57 +0000)]
Merge "Declare explicitly thumb mode."
Yabin Cui [Wed, 14 Feb 2018 19:12:53 +0000 (19:12 +0000)]
Merge "simpleperf: Use cross-arch unwinding." am:
e963a23af5 am:
2e7ec3270f
am:
6ed55d506e
Change-Id: I2853f4c81a0b595f2b161b91737f3dc08872a46a
Yabin Cui [Wed, 14 Feb 2018 18:54:13 +0000 (18:54 +0000)]
Merge "simpleperf: Use cross-arch unwinding." am:
e963a23af5
am:
2e7ec3270f
Change-Id: I09a2180dd2e4d4b17c92a55f48c70f9d3a72e005
Yabin Cui [Wed, 14 Feb 2018 18:48:39 +0000 (18:48 +0000)]
Merge "simpleperf: Use cross-arch unwinding."
am:
e963a23af5
Change-Id: I404b2975f2f38a2d35be31096078e4ba72d596dd
Yabin Cui [Wed, 14 Feb 2018 18:36:49 +0000 (18:36 +0000)]
Merge "simpleperf: Use cross-arch unwinding."
Chih-Hung Hsieh [Wed, 14 Feb 2018 18:10:35 +0000 (10:10 -0800)]
Declare explicitly thumb mode.
* bandwidth.h contains thumb mode only instructions.
Test: normal build.
Change-Id: Ib40dfda63f668949370405e7ec53f5f9828200e6
android-build-team Robot [Wed, 14 Feb 2018 08:21:28 +0000 (08:21 +0000)]
Snap for
4603395 from
b2945bb2792717646280ffdd26c1bedbed8cc745 to pi-release
Change-Id: I45d3b449f1d1d8e223eb5d7e7917781dfbd62d9f
Logan Chien [Wed, 14 Feb 2018 02:32:51 +0000 (02:32 +0000)]
Merge "Fix PDK build" am:
6fb05cb71a am:
45fb0abd34
am:
cf2a44ca86
Change-Id: I36e26167cecd8df08e5ae435700c2f38323b0237
Logan Chien [Wed, 14 Feb 2018 02:27:13 +0000 (02:27 +0000)]
Merge "Fix PDK build" am:
6fb05cb71a
am:
45fb0abd34
Change-Id: Ie684605c998940f3448099608a09ed56df0d4686
Logan Chien [Wed, 14 Feb 2018 02:22:11 +0000 (02:22 +0000)]
Merge "Fix PDK build"
am:
6fb05cb71a
Change-Id: Ia463bd5465fcf0eb1487525a39a4fa4f1d0e0659
Logan Chien [Wed, 14 Feb 2018 02:11:54 +0000 (02:11 +0000)]
Merge "Fix PDK build"
Yabin Cui [Tue, 6 Feb 2018 21:42:16 +0000 (13:42 -0800)]
simpleperf: Use cross-arch unwinding.
Enables cross-arch unwinding since the new unwinder supports cross-arch
unwinding.
Also change tests accordingly.
Bug: http://b/
73127000
Test: run simpleperf_unit_test.
Change-Id: I3ca3f7a81b40e9f7ea2b39b9fdc951f9e7a6acc7
Logan Chien [Tue, 13 Feb 2018 10:27:17 +0000 (18:27 +0800)]
Fix PDK build
This commit disables "perfporfd" in PDK builds because "perfporfd"
depends on "libservices" (from "frameworks/base") which is not in PDK
builds as well.
Test: Build a target (described in http://b/
72961456) with
`platform.zip` built from master FSK source tree.
Bug:
72961456
Change-Id: Ia4913435642cd09a321afb9f583331ca24a8e4be
android-build-team Robot [Sun, 11 Feb 2018 08:22:34 +0000 (08:22 +0000)]
Snap for
4598635 from
b46b3c408a4b3891b51ee1914f20cbf1146f5fe6 to pi-release
Change-Id: I8f34d562190b554ce9a2a9b5bf36e60edb4fae89
Yabin Cui [Thu, 8 Feb 2018 21:55:39 +0000 (21:55 +0000)]
Merge "simpleperf: improve debug-unwind cmd." am:
3579c4460b am:
7948b8ef92
am:
543496a780
Change-Id: Ia2c3f54d6e361583eac7b71397af2b998801d8c5
Yabin Cui [Thu, 8 Feb 2018 21:51:36 +0000 (21:51 +0000)]
Merge "simpleperf: improve debug-unwind cmd." am:
3579c4460b
am:
7948b8ef92
Change-Id: I4dfbc3fc96ff36e85989852978ee5a1f5be02077
Yabin Cui [Thu, 8 Feb 2018 21:47:34 +0000 (21:47 +0000)]
Merge "simpleperf: improve debug-unwind cmd."
am:
3579c4460b
Change-Id: Ief15860d1a9b96ca6b049b7872f86a5ec286f53e
Yabin Cui [Thu, 8 Feb 2018 21:35:11 +0000 (21:35 +0000)]
Merge "simpleperf: improve debug-unwind cmd."
Yabin Cui [Wed, 7 Feb 2018 01:49:06 +0000 (17:49 -0800)]
simpleperf: improve debug-unwind cmd.
In debug-unwind cmd:
1. Add --symfs option.
2. Add meta_info section when there isn't one.
3. Add file section when there isn't one.
Rename unwinding_result_reporter.py to debug_unwind_reporter.py,
and fix a small error in it.
Bug: http://b/
72556486
Test: run simpleperf_unit_test.
Test: run debug_unwind_reporter.py manually.
Change-Id: Ibc66b7bfdc91a17f6f1c2c0e84f4769d2bcaa1e7
android-build-team Robot [Wed, 7 Feb 2018 13:30:48 +0000 (13:30 +0000)]
Snap for
4590521 from
ef8cefb598c4546d1e579ffbe4239f8de53bbdad to pi-release
Change-Id: Icc4752c3f24f93a1286bfb22d1eb3d646f5f93ab
Andreas Gampe [Wed, 7 Feb 2018 03:52:27 +0000 (03:52 +0000)]
Merge "Simpleperf: Support record --" am:
d01f9dd649 am:
8df2cff22c
am:
88acc5ac3d
Change-Id: I2b85722b11aeffed7cfb69fea3ffaad932303280
Andreas Gampe [Wed, 7 Feb 2018 01:45:47 +0000 (01:45 +0000)]
Merge "Simpleperf: Support record --" am:
d01f9dd649
am:
8df2cff22c
Change-Id: I8f62deff82ecfae0c69aeb6fc8d8842f87690332
Andreas Gampe [Wed, 7 Feb 2018 01:37:41 +0000 (01:37 +0000)]
Merge "Simpleperf: Support record --"
am:
d01f9dd649
Change-Id: Ib70af9686c725e1bc863869ea481510da7586ea0
Treehugger Robot [Wed, 7 Feb 2018 01:24:16 +0000 (01:24 +0000)]
Merge "Simpleperf: Support record --"
Andreas Gampe [Tue, 6 Feb 2018 02:53:25 +0000 (18:53 -0800)]
Simpleperf: Support record --
Support optional "--" to be compatible with linux-perf.
Test: mmma system/extras/simpleperf
Test: simpleperf_unit_test
Change-Id: I4c2627625bb97514d86c8972ef5a0a31bf518b76
Wei Wang [Tue, 30 Jan 2018 23:14:09 +0000 (15:14 -0800)]
libperfmgr: add dump interface
Bug:
72071908
Test: Call added interface in powerhal and check
lshal-debug/android.hardware.power@1.2::IPower_default.txt
Change-Id: I1198b702e14b7134e46d768b5f6c203e39ffcbc8
android-build-team Robot [Tue, 6 Feb 2018 08:21:55 +0000 (08:21 +0000)]
Snap for
4587185 from
7484dd9aacfc07274e3525a2482958c2e5ec232a to pi-release
Change-Id: I771ba712e409853aed5a43c42178e09db524d430
Yabin Cui [Tue, 6 Feb 2018 04:31:48 +0000 (04:31 +0000)]
Merge "simpleperf: add debug-unwind cmd." am:
329daa8b39 am:
d6913eb82e
am:
312babef16
Change-Id: I0671be21aa223a96b4b1ae184f7047cbd80adde0
Yabin Cui [Tue, 6 Feb 2018 03:46:21 +0000 (03:46 +0000)]
Merge "simpleperf: add debug-unwind cmd." am:
329daa8b39
am:
d6913eb82e
Change-Id: I94201adeb1ea00646dec8153733d9088d47c4195
Yabin Cui [Tue, 6 Feb 2018 03:16:15 +0000 (03:16 +0000)]
Merge "simpleperf: add debug-unwind cmd."
am:
329daa8b39
Change-Id: I54197804b1c99ec8ffd7e39c527d362f5c25e332
Yabin Cui [Tue, 6 Feb 2018 02:54:18 +0000 (02:54 +0000)]
Merge "simpleperf: add debug-unwind cmd."
Yabin Cui [Fri, 2 Feb 2018 22:18:40 +0000 (14:18 -0800)]
simpleperf: add debug-unwind cmd.
Currently, we use --log debug option in record cmd to debug offline unwinding.
However, it has below disadvantages:
1. It adds extra complexity in record cmd.
2. It doesn't keep reg/stack data of samples.
3. It isn't convenient to reproduce samples in problem. Because each time
recording gets different samples.
4. It isn't very suitable for performance test of unwinding, for the same
reason as item 3.
So instead, this CL adds debug-unwind cmd focusing on debugging and testing
offline unwinding. It solves problems mentioned above.
Also change unwinding_result_reporter.py to make it work with perf.data
generated by debug-unwind cmd.
Bug: http://b/
72556486
Test: run simpleperf_unit_test.
Test: run unwinding_result_reporter.py manually.
Change-Id: I11cdf1eba993f48d61ef9891ad1be54d29679fdb
android-build-team Robot [Mon, 5 Feb 2018 08:20:57 +0000 (08:20 +0000)]
Snap for
4585119 from
a44911721920c9c1e72dbd9679763e76b50d0e65 to pi-release
Change-Id: I95f4068fe93b338d78c4fab18b6f0d2ff3fdb319
Yabin Cui [Fri, 2 Feb 2018 08:54:36 +0000 (08:54 +0000)]
Merge "simpleperf: Switch to use post-unwind by default in record cmd." am:
b58c9fa94c am:
364ea30218
am:
4f12a44423
Change-Id: I98c932cb831e11ca51f14a736a5d5ba908252242
Yabin Cui [Fri, 2 Feb 2018 04:47:49 +0000 (04:47 +0000)]
Merge "simpleperf: Switch to use post-unwind by default in record cmd." am:
b58c9fa94c
am:
364ea30218
Change-Id: I03a2cf3f7b188d608290fbe77ffb86ec883ae418
Ng Zhi An [Thu, 1 Feb 2018 22:43:38 +0000 (14:43 -0800)]
Add gobo_512 to ioblame.sh
Test: Run ioblame.sh on gobo_512 device
Change-Id: Ia99b01339c99d149b45df73b608bb842ac3b3498
android-build-team Robot [Thu, 1 Feb 2018 08:52:31 +0000 (08:52 +0000)]
Snap for
4579913 from
f18ac53621014a68008a0914e3d09b1c1b13e466 to pi-release
Change-Id: I9c4b4d41fcab6742bf75462d57d162832ba92cb8
Yabin Cui [Thu, 1 Feb 2018 03:37:12 +0000 (03:37 +0000)]
Merge "simpleperf: Switch to use post-unwind by default in record cmd."
am:
b58c9fa94c
Change-Id: I54ef5cb9cc18391000f091974194ae26285b9f4c
Yabin Cui [Thu, 1 Feb 2018 02:12:02 +0000 (02:12 +0000)]
Merge "simpleperf: Switch to use post-unwind by default in record cmd."
Yabin Cui [Tue, 30 Jan 2018 00:02:16 +0000 (16:02 -0800)]
simpleperf: Switch to use post-unwind by default in record cmd.
When recording google.sample.tunnel app for 30s:
It took 3s to unwind samples and write unwound samples to file.
It took 0.3s to write samples containing stack/reg data to file.
The result shows recording with post unwinding consumes much
less time than unwinding samples immediately. This means we can
record with higher freq and get smaller lose rate when using
post unwinding. So make below changes:
1. Make post unwinding by default.
2. Replace --post-unwind with --no-post-unwind option.
3. Make --trace-offcpu and callchain joiner work with post unwinding.
4. Remove special operations in --log debug mode. Those will be
supported in a new command.
Bug: http://b/
72556486
Test: run simpleperf_unit_test.
Test: run python test.py.
Change-Id: I9a5a5defda9d040985e674c43db19ee68e7aa305
TreeHugger Robot [Wed, 31 Jan 2018 19:15:03 +0000 (19:15 +0000)]
Merge "Recognize gobo and gobo_512 as phone models"
android-build-team Robot [Wed, 31 Jan 2018 17:23:48 +0000 (17:23 +0000)]
Snap for
4577102 from
9c48eb78265f271bf51db4036bb0375fa9662f9f to pi-release
Change-Id: I786f2e88ec614ea0f141a522cff3796e30007d64
Yabin Cui [Wed, 31 Jan 2018 02:34:21 +0000 (02:34 +0000)]
Merge "inferno: support --one-flamegraph option." am:
8a9c923f3b am:
cad6f9d61e
am:
b4e79ff0df
Change-Id: Id79b2dbbed65b7fe64480f1622cb5fc625afc5a8
Yabin Cui [Wed, 31 Jan 2018 02:10:44 +0000 (02:10 +0000)]
Merge "inferno: support --one-flamegraph option." am:
8a9c923f3b
am:
cad6f9d61e
Change-Id: Ifdbc49bd87d53c79275c149af649329ffed39205
Yabin Cui [Wed, 31 Jan 2018 01:59:05 +0000 (01:59 +0000)]
Merge "inferno: support --one-flamegraph option."
am:
8a9c923f3b
Change-Id: I80ae80043ec91453aa9866a1bbd9a03a85eab4eb