OSDN Git Service
Yang Jin [Thu, 22 Jun 2017 18:20:51 +0000 (11:20 -0700)]
use f2fs upstream host to generate image
calls make_f2fs -S <size> <filename>
Test: ./mkf2fsuserimg.sh ~/android/userdata.img
2000000000
Bug:
62493641
Change-Id: I4d3631a631fbdfbfc680eeba5f2a1dde204cba25
Romain Guy [Thu, 8 Jun 2017 19:23:11 +0000 (19:23 +0000)]
Fix macOS build am:
c3ccab73be am:
8fb5ed9dfb
am:
ac0e9d5a7b
Change-Id: Ic39f4ea489c183c089a74fe41bfbd22efac32f7a
Romain Guy [Thu, 8 Jun 2017 19:22:57 +0000 (19:22 +0000)]
Fix macOS build am:
c3ccab73be am:
797cdee074
am:
449a8f67c2
Change-Id: Ib8df4bac382e204ff8ba9c52f26964626fd2111a
Romain Guy [Thu, 8 Jun 2017 19:17:20 +0000 (19:17 +0000)]
Fix macOS build am:
c3ccab73be
am:
8fb5ed9dfb
Change-Id: If2225ede8691d1a272b4718d63babf9aec1ef636
Romain Guy [Thu, 8 Jun 2017 19:15:37 +0000 (19:15 +0000)]
Fix macOS build am:
c3ccab73be
am:
797cdee074
Change-Id: Iea48585f6e0ba8de0bdff2f811b7e1557eb9f7c3
Romain Guy [Thu, 8 Jun 2017 19:13:01 +0000 (19:13 +0000)]
Fix macOS build
am:
c3ccab73be
Change-Id: Id6c408f3f0c8268a4723623114a94f7b6fe47dcc
Romain Guy [Thu, 8 Jun 2017 19:12:08 +0000 (19:12 +0000)]
Fix macOS build
am:
c3ccab73be
Change-Id: I0bf642ea554fd0af408538feb09c2fd7fb58875f
Colin Cross [Thu, 8 Jun 2017 16:49:40 +0000 (16:49 +0000)]
Merge "Fix macOS build" am:
b9b7f3f061 am:
710e8f4da4 am:
46e53c56f0 -s ours
am:
75d1f43d41 -s ours
Change-Id: I0648690042b1588b59cd45f9d84e17fb4e8f2781
Colin Cross [Thu, 8 Jun 2017 16:24:37 +0000 (16:24 +0000)]
Merge "Fix macOS build" am:
b9b7f3f061 am:
710e8f4da4
am:
46e53c56f0 -s ours
Change-Id: I5055b5a82ad2e1eaf3929d2c7b6ba701cc698a5d
Romain Guy [Thu, 8 Jun 2017 16:11:42 +0000 (16:11 +0000)]
Fix macOS build am:
b86fd88966
am:
5cf2580f1e
Change-Id: I78668b19ac458a9825ca29da584e1c669ca621e6
Colin Cross [Thu, 8 Jun 2017 16:04:30 +0000 (16:04 +0000)]
Merge "Fix macOS build" am:
b9b7f3f061
am:
710e8f4da4
Change-Id: Ib109ceca0597a8a04dde6b44f865a7704605583b
Colin Cross [Thu, 8 Jun 2017 15:48:53 +0000 (15:48 +0000)]
Merge "Fix macOS build"
am:
b9b7f3f061
Change-Id: I6f6d24801ea090c3725378ff6572381cb09836c9
Romain Guy [Thu, 8 Jun 2017 15:48:51 +0000 (15:48 +0000)]
Fix macOS build
am:
b86fd88966
Change-Id: I54926a8e2ef870e47017589ed7d4fca55657d829
Romain Guy [Thu, 8 Jun 2017 00:05:03 +0000 (17:05 -0700)]
Fix macOS build
Bug:
34719251
Test: compile
Change-Id: I97e93313f9b6ab7e8a753d4035b7805b21fdfa2d
(cherry picked from commit
b86fd88966aa15c2b9cce1bf0f7907fcdd11134e)
Colin Cross [Thu, 8 Jun 2017 15:43:24 +0000 (15:43 +0000)]
Merge "Fix macOS build"
Romain Guy [Thu, 8 Jun 2017 00:05:03 +0000 (17:05 -0700)]
Fix macOS build
Test: compile
Change-Id: I97e93313f9b6ab7e8a753d4035b7805b21fdfa2d
Merged-In: I97e93313f9b6ab7e8a753d4035b7805b21fdfa2d
(cherry picked from commit
b86fd88966aa15c2b9cce1bf0f7907fcdd11134e)
Romain Guy [Thu, 8 Jun 2017 00:05:03 +0000 (17:05 -0700)]
Fix macOS build
Test: compile
Change-Id: I97e93313f9b6ab7e8a753d4035b7805b21fdfa2d
Guang Zhu [Tue, 6 Jun 2017 19:40:27 +0000 (19:40 +0000)]
add component metadata tag to CTS kernel config test cases am:
4313a5d7e6
am:
c4efad7a08 -s ours
Change-Id: I950b7289af632658088aeaec88484dd17b2d42ee
Guang Zhu [Tue, 6 Jun 2017 19:29:19 +0000 (19:29 +0000)]
add component metadata tag to CTS kernel config test cases
am:
4313a5d7e6
Change-Id: I1b8f3fc91d8f563c267261098fb7653e4d37b393
Mark Salyzyn [Tue, 6 Jun 2017 19:11:58 +0000 (19:11 +0000)]
resolve merge conflicts of
4bc9219d to oc-dev-plus-aosp
am:
9d02ca813f
Change-Id: Ib99bfeadc267769a70fe978e651df3236f4a01b8
Guang Zhu [Tue, 6 Jun 2017 19:02:39 +0000 (19:02 +0000)]
Merge "add component metadata tag to CTS kernel config test cases"
Mark Salyzyn [Tue, 6 Jun 2017 17:09:33 +0000 (10:09 -0700)]
resolve merge conflicts of
4bc9219d to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Bug:
37753761
Change-Id: I4898abc8dd63fdfb4c4ca8a6e69a6198c4882cb3
Mark Salyzyn [Tue, 6 Jun 2017 16:51:57 +0000 (16:51 +0000)]
Merge "kernel.config: add CONFIG_NFS* testing" am:
160671d409
am:
9e7b953199
Change-Id: I1417b71ff604cb2868934659839b486616666c3d
Mark Salyzyn [Tue, 6 Jun 2017 16:46:57 +0000 (16:46 +0000)]
Merge "kernel.config: add CONFIG_NFS* testing"
am:
160671d409
Change-Id: I7785489bc04968f99a86cb1d6fe485f79ec00c56
Treehugger Robot [Tue, 6 Jun 2017 16:40:21 +0000 (16:40 +0000)]
Merge "kernel.config: add CONFIG_NFS* testing"
Yabin Cui [Tue, 6 Jun 2017 01:51:18 +0000 (01:51 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
d98c857902 am:
5ea663c3ab am:
545ee30d39
am:
f2fa27393c
Change-Id: Ib4245d4d936ea836c94f83b72c98aa0d3be47cbc
Yabin Cui [Tue, 6 Jun 2017 01:43:29 +0000 (01:43 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
d98c857902 am:
5ea663c3ab
am:
545ee30d39
Change-Id: I1d1523e06c56959e89cffa0ba877188a2333975a
Yabin Cui [Tue, 6 Jun 2017 01:37:58 +0000 (01:37 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
d98c857902
am:
5ea663c3ab
Change-Id: Ie6a8909be81a63ba032b0616fb8c2aa156c96d22
Yabin Cui [Tue, 6 Jun 2017 01:32:55 +0000 (01:32 +0000)]
Merge "simpleperf: fix app_profiler.py."
am:
d98c857902
Change-Id: I24b7656d7670c89ea2ff8de434d3ac69f92e70e2
Yabin Cui [Tue, 6 Jun 2017 01:24:10 +0000 (01:24 +0000)]
Merge "simpleperf: fix app_profiler.py."
Yabin Cui [Tue, 6 Jun 2017 01:08:23 +0000 (18:08 -0700)]
simpleperf: fix app_profiler.py.
Previous change makes app_profiler.py not work on rooted devices
because of using '>xxx' as a flag to store stdout files. Change
this to a more obvious way.
Bug: http://b/
62028152
Test: run app_profiler.py on both rooted and non-rooted devices.
Change-Id: Ice2399d007a64a7d0000560b2368a392620b1053
Guang Zhu [Mon, 5 Jun 2017 21:40:21 +0000 (14:40 -0700)]
add component metadata tag to CTS kernel config test cases
Bug:
36140955
Bug:
35360169
Test: new unit test to ensure that all modules have this field
Change-Id: I1478559f4aeb8d16e7ef0a1bc65fec6644fe3c65
Merged-In: I60cdfb77e7c20615fde43612cc77b0b6846612fa
Guang Zhu [Mon, 5 Jun 2017 21:40:21 +0000 (14:40 -0700)]
add component metadata tag to CTS kernel config test cases
Bug:
36140955
Bug:
35360169
Test: new unit test to ensure that all modules have this field
Change-Id: I60cdfb77e7c20615fde43612cc77b0b6846612fa
Jaegeuk Kim [Mon, 5 Jun 2017 23:17:19 +0000 (23:17 +0000)]
Merge "f2fs: adjust change for f2fs-tools v1.8.0"
Mark Salyzyn [Mon, 5 Jun 2017 16:07:34 +0000 (09:07 -0700)]
kernel.config: add CONFIG_NFS* testing
The following configs are not supported on Android:
CONFIG_NFSD
CONFIG_NFS_FS
Test: run CTS and kernel-config-unit-tests
Bug:
37753761
Change-Id: I13a9a2d5265079a1f99512c48b5bbcfd4bba68dd
Mark Salyzyn [Mon, 5 Jun 2017 16:07:34 +0000 (09:07 -0700)]
kernel.config: add CONFIG_NFS* testing
The following configs are not supported on Android:
CONFIG_NFSD
CONFIG_NFS_FS
Test: run CTS and kernel-config-unit-tests
Bug:
37753761
Change-Id: I13a9a2d5265079a1f99512c48b5bbcfd4bba68dd
Jaegeuk Kim [Mon, 5 Jun 2017 16:26:40 +0000 (09:26 -0700)]
f2fs: adjust change for f2fs-tools v1.8.0
Change-Id: I41364cbb0781fa5e30567ce7713ef3a2548fa261
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Yabin Cui [Fri, 2 Jun 2017 23:46:02 +0000 (23:46 +0000)]
Merge "simpleperf: add thread name in report_sample.proto." am:
b33edada95 am:
f13c66de88 am:
6b75d33fa7
am:
f7b2ec0bbf
Change-Id: Ic81dafb8192fcdc2b6ec3e6421ced1f1b23876fe
Yabin Cui [Fri, 2 Jun 2017 23:42:06 +0000 (23:42 +0000)]
Merge "simpleperf: add thread name in report_sample.proto." am:
b33edada95 am:
f13c66de88
am:
6b75d33fa7
Change-Id: I312fe7738ea5f03fe2c007018186f7320d99b40a
Yabin Cui [Fri, 2 Jun 2017 23:38:18 +0000 (23:38 +0000)]
Merge "simpleperf: add thread name in report_sample.proto." am:
b33edada95
am:
f13c66de88
Change-Id: Ied50dc7eb9a3d663f624fb4aec3ca42d1e1ed6d5
Yabin Cui [Fri, 2 Jun 2017 23:34:18 +0000 (23:34 +0000)]
Merge "simpleperf: add thread name in report_sample.proto."
am:
b33edada95
Change-Id: I1d2852d3c3497e692b1f03596a999b8556b05b93
Yabin Cui [Fri, 2 Jun 2017 23:27:37 +0000 (23:27 +0000)]
Merge "simpleperf: add thread name in report_sample.proto."
Yabin Cui [Fri, 2 Jun 2017 21:47:33 +0000 (14:47 -0700)]
simpleperf: add thread name in report_sample.proto.
Bug: http://b/
62189080
Test: run simpleperf_unit_test.
Change-Id: I3c96f6474e56b2f51a00f85082973e5d1c1aec72
Yabin Cui [Fri, 2 Jun 2017 00:07:11 +0000 (00:07 +0000)]
Merge "simpleperf: write -1 to perf_event_paranoid when running as root." am:
668878b3b7 am:
df104e1ed8 am:
6ec981b750
am:
f55d48bf08
Change-Id: Ibba4472ae691f3eb0ad863cde2ea8d55f72ccf38
Yabin Cui [Thu, 1 Jun 2017 23:46:25 +0000 (23:46 +0000)]
Merge "simpleperf: write -1 to perf_event_paranoid when running as root." am:
668878b3b7 am:
df104e1ed8
am:
6ec981b750
Change-Id: I5ed1c31bb336bb060d228e1866d8b0c8cd5d9816
Yabin Cui [Thu, 1 Jun 2017 23:37:49 +0000 (23:37 +0000)]
Merge "simpleperf: write -1 to perf_event_paranoid when running as root." am:
668878b3b7
am:
df104e1ed8
Change-Id: I56f126547cac5741c93513b9a2581be551da6034
Yabin Cui [Thu, 1 Jun 2017 23:36:09 +0000 (23:36 +0000)]
Merge "simpleperf: write -1 to perf_event_paranoid when running as root."
am:
668878b3b7
Change-Id: I46bbb7af11b38538384243ba91d30204def53a13
Treehugger Robot [Thu, 1 Jun 2017 23:29:12 +0000 (23:29 +0000)]
Merge "simpleperf: write -1 to perf_event_paranoid when running as root."
Yabin Cui [Thu, 1 Jun 2017 21:34:29 +0000 (21:34 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
f4f68176b3 am:
7ac7c486df am:
b396fbccef
am:
1c7a854e5f
Change-Id: I3888575822ddd46b57320847434408327d885f0f
Yabin Cui [Thu, 1 Jun 2017 21:32:01 +0000 (21:32 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
f4f68176b3 am:
7ac7c486df
am:
b396fbccef
Change-Id: I9b6db3b74fb389dec6556d3630d6fc80d289eb62
Yabin Cui [Thu, 1 Jun 2017 21:29:29 +0000 (21:29 +0000)]
Merge "simpleperf: fix app_profiler.py." am:
f4f68176b3
am:
7ac7c486df
Change-Id: Ib44a00e2089fb67274af449b38c09b676a84b559
Yabin Cui [Thu, 1 Jun 2017 21:26:58 +0000 (21:26 +0000)]
Merge "simpleperf: fix app_profiler.py."
am:
f4f68176b3
Change-Id: If1e79e2ef0e6e92cf3c4eb92ef9daf3cb722117b
Yabin Cui [Thu, 1 Jun 2017 21:22:43 +0000 (21:22 +0000)]
Merge "simpleperf: fix app_profiler.py."
Yabin Cui [Thu, 1 Jun 2017 20:23:29 +0000 (13:23 -0700)]
simpleperf: write -1 to perf_event_paranoid when running as root.
The monitored threads may create child processes not running as root.
This patch is to make sure they have permission to create inherited
tracepoint events.
Bug: http://b/
62230699
Test: run simpleperf manually on device.
Change-Id: I02798c834f8a0500057e4e1c70291cfb05c3f92d
Jayant Chowdhary [Wed, 31 May 2017 04:11:37 +0000 (04:11 +0000)]
Mark libpagemap vendor_available. am:
775665d0fe -s ours
am:
44171f8c75 -s ours
Change-Id: I30fb895ae2d41f592971e113b940f502c35785a9
Jayant Chowdhary [Wed, 31 May 2017 04:07:15 +0000 (04:07 +0000)]
Mark libpagemap vendor_available.
am:
775665d0fe -s ours
Change-Id: If2fd9319761c8b6e7c63559ccb89ffe75ed3df38
Jayant Chowdhary [Wed, 17 May 2017 18:32:25 +0000 (11:32 -0700)]
Mark libpagemap vendor_available.
libpagemap is a library which belongs to vndk-cap. Mark it vendor_available to
enable vndk abi stability checks on it.
Details: https://android-review.googlesource.com/368372
Test: mm -j64
Bug:
38244611
Merged-In: I5c0f31840eef558b2aa7b65cb24370a696306105
Change-Id: I310d0a4d8dd9e87615c276bd66639170b2a70648
(cherry picked from commit
37212881797146ff95b49d252ed0e576d14a7fdb)
Yabin Cui [Fri, 26 May 2017 18:16:13 +0000 (11:16 -0700)]
simpleperf: fix app_profiler.py.
The old way doesn't work on non-rooted devices.
Bug: http://b/
62028152
Test: run app_profiler.py non non-rooted devices.
Change-Id: I2b528a8ec64675cf62323ef3e58f6cdeb2547240
Jayant Chowdhary [Thu, 25 May 2017 17:38:59 +0000 (17:38 +0000)]
Merge "Mark libpagemap vendor_available." am:
0a0e79662c am:
12ea59deb3 am:
b6d65b3dd7
am:
1e43efd3a4
Change-Id: Ib85f91d05e8a2a1ec7c9d803bc26737756c36bc3
Jayant Chowdhary [Thu, 25 May 2017 17:30:01 +0000 (17:30 +0000)]
Merge "Mark libpagemap vendor_available." am:
0a0e79662c am:
12ea59deb3
am:
b6d65b3dd7
Change-Id: Ic3349cb90fbcd84b39d26c840d405a28e13ce9c7
Jayant Chowdhary [Thu, 25 May 2017 17:24:29 +0000 (17:24 +0000)]
Merge "Mark libpagemap vendor_available." am:
0a0e79662c
am:
12ea59deb3
Change-Id: Ia86d428c246d5771c65e7486633bef9bb9a5d39b
Jayant Chowdhary [Thu, 25 May 2017 17:18:12 +0000 (17:18 +0000)]
Merge "Mark libpagemap vendor_available."
am:
0a0e79662c
Change-Id: I5c0f31840eef558b2aa7b65cb24370a696306105
Jayant Chowdhary [Thu, 25 May 2017 17:08:38 +0000 (17:08 +0000)]
Merge "Mark libpagemap vendor_available."
Jayant Chowdhary [Wed, 17 May 2017 18:32:25 +0000 (11:32 -0700)]
Mark libpagemap vendor_available.
libpagemap is a library which belongs to vndk-cap. Mark it vendor_available to
enable vndk abi stability checks on it.
Details: https://android-review.googlesource.com/368372
Test: mm -j64
Bug:
38244611
Change-Id: I310d0a4d8dd9e87615c276bd66639170b2a70648
Yabin Cui [Wed, 24 May 2017 02:30:58 +0000 (02:30 +0000)]
Merge "simpleperf: support raw event types." am:
37d4c9e38c am:
ce51f04317 am:
57aecf4afe
am:
bcb2c8e482
Change-Id: I94567c83a1d0caf0d4c6124deba71874ba2b802d
Yabin Cui [Wed, 24 May 2017 02:28:28 +0000 (02:28 +0000)]
Merge "simpleperf: support raw event types." am:
37d4c9e38c am:
ce51f04317
am:
57aecf4afe
Change-Id: Ie1124ed5d9015893529c71f8e0de07f9d465198a
Yabin Cui [Wed, 24 May 2017 02:26:26 +0000 (02:26 +0000)]
Merge "simpleperf: support raw event types." am:
37d4c9e38c
am:
ce51f04317
Change-Id: If9e950957b5430f90281f1fcbe2be84e363fdee3
Yabin Cui [Wed, 24 May 2017 02:23:57 +0000 (02:23 +0000)]
Merge "simpleperf: support raw event types."
am:
37d4c9e38c
Change-Id: Ibab839ca06d1ec0abfd1d44dd04b046f15e1036d
Treehugger Robot [Wed, 24 May 2017 02:18:11 +0000 (02:18 +0000)]
Merge "simpleperf: support raw event types."
Yabin Cui [Wed, 10 May 2017 00:31:05 +0000 (17:31 -0700)]
simpleperf: support raw event types.
Provide interface to access event numbers provided by ARMv8 PMU v3.
Make event types case insensitive to make typing easier.
Bug: http://b/
38043209
Test: run simpleperf_unit_test.
Change-Id: I49073acbc4d8c9abeafff93e25133664c84a0e9c
Jin Qian [Tue, 23 May 2017 19:53:26 +0000 (19:53 +0000)]
Merge "ext4_utils: update default conf from e2fsprogs" am:
c1dd830eaf am:
99361dd165 am:
df44cf7036
am:
e369ca3a28
Change-Id: Ief19de3a9eec1597d00a40a036d08150dbe30fb2
Jin Qian [Tue, 23 May 2017 19:51:05 +0000 (19:51 +0000)]
Merge "ext4_utils: update default conf from e2fsprogs" am:
c1dd830eaf am:
99361dd165
am:
df44cf7036
Change-Id: I3660f8f2355e84b13b3a296b85fc49f2698f03a4
Jin Qian [Tue, 23 May 2017 19:48:55 +0000 (19:48 +0000)]
Merge "ext4_utils: update default conf from e2fsprogs" am:
c1dd830eaf
am:
99361dd165
Change-Id: Iccd829d75797a6cd51d6532c132e094b5507c0e8
Jin Qian [Tue, 23 May 2017 19:46:24 +0000 (19:46 +0000)]
Merge "ext4_utils: update default conf from e2fsprogs"
am:
c1dd830eaf
Change-Id: I64fe736a477a006f3e77589aa279f423d9335682
Treehugger Robot [Tue, 23 May 2017 19:42:26 +0000 (19:42 +0000)]
Merge "ext4_utils: update default conf from e2fsprogs"
Jin Qian [Sat, 15 Apr 2017 00:55:45 +0000 (17:55 -0700)]
ext4_utils: update default conf from e2fsprogs
Build server machines are using a conf file optimized for google
data center. We should use the default version from upstream
e2fsprogs.
Keep reserved_ratio at 1% to get more free space.
Bug:
37361511
Change-Id: I2638df72cfd3b9404981ef227651d38025a8053c
Jin Qian [Tue, 23 May 2017 18:32:10 +0000 (18:32 +0000)]
Merge "ext4_utils: add default mke2fs.conf" am:
5e42819865 am:
364f44e607 am:
0ba04f4917 -s ours
am:
a7a3e6a75f
Change-Id: I93ac3675f3d9d26a3a48284b8e8a53df9095bdf4
Jin Qian [Tue, 23 May 2017 18:28:58 +0000 (18:28 +0000)]
Merge "ext4_utils: add default mke2fs.conf" am:
5e42819865 am:
364f44e607
am:
0ba04f4917 -s ours
Change-Id: I6f116fcab05fc7317daee0a2125dbc61674e4e18
Jin Qian [Tue, 23 May 2017 18:16:48 +0000 (18:16 +0000)]
Merge "ext4_utils: add default mke2fs.conf" am:
5e42819865
am:
364f44e607
Change-Id: I76f98d45e343431460cb53ff3d38ca6ac334e3c9
Jin Qian [Tue, 23 May 2017 18:12:18 +0000 (18:12 +0000)]
Merge "ext4_utils: add default mke2fs.conf"
am:
5e42819865
Change-Id: If07bcc1a3b708ff17172a18a99abc45aef193eeb
Treehugger Robot [Tue, 23 May 2017 18:05:33 +0000 (18:05 +0000)]
Merge "ext4_utils: add default mke2fs.conf"
Yabin Cui [Mon, 22 May 2017 18:48:59 +0000 (18:48 +0000)]
Merge "simpleperf: better support kernel symbols when running as root." am:
fbc7062e9b am:
e9488b3fec am:
41ed89b979
am:
7b9a8f1ca9
Change-Id: I3733d58c2471250205653f775e7a6c8ea2c75f3e
Yabin Cui [Mon, 22 May 2017 18:48:45 +0000 (18:48 +0000)]
Merge "simpleperf: support [vdso]." am:
b8b93042c9 am:
74e68c8097 am:
4d01701b65
am:
2b57f12338
Change-Id: Ibcbd42e92811bdedfb92f9babc2714e3cd7f8e6e
Yabin Cui [Mon, 22 May 2017 18:37:58 +0000 (18:37 +0000)]
Merge "simpleperf: better support kernel symbols when running as root." am:
fbc7062e9b am:
e9488b3fec
am:
41ed89b979
Change-Id: I80c51cddc14f73a1cdc611bc1424623988007ba6
Yabin Cui [Mon, 22 May 2017 18:37:46 +0000 (18:37 +0000)]
Merge "simpleperf: support [vdso]." am:
b8b93042c9 am:
74e68c8097
am:
4d01701b65
Change-Id: I1d136806dc2d43ef032e8bae676e3c2772d67443
Yabin Cui [Mon, 22 May 2017 18:31:26 +0000 (18:31 +0000)]
Merge "simpleperf: better support kernel symbols when running as root." am:
fbc7062e9b
am:
e9488b3fec
Change-Id: I3328a1bfa0209b2ae39302e642051940795f70b0
Yabin Cui [Mon, 22 May 2017 18:31:13 +0000 (18:31 +0000)]
Merge "simpleperf: support [vdso]." am:
b8b93042c9
am:
74e68c8097
Change-Id: I604d86de4b29e16e3b6a6ed6d4af25c059bddcce
Yabin Cui [Mon, 22 May 2017 18:25:58 +0000 (18:25 +0000)]
Merge "simpleperf: better support kernel symbols when running as root."
am:
fbc7062e9b
Change-Id: I6950f4a91a52632e5f3abe124fee88854ce5ddf5
Yabin Cui [Mon, 22 May 2017 18:25:43 +0000 (18:25 +0000)]
Merge "simpleperf: support [vdso]."
am:
b8b93042c9
Change-Id: I13f5dc890be5552638bb194b9752bbb1d1fc5a35
Yabin Cui [Mon, 22 May 2017 18:16:21 +0000 (18:16 +0000)]
Merge "simpleperf: better support kernel symbols when running as root."
Treehugger Robot [Mon, 22 May 2017 18:14:51 +0000 (18:14 +0000)]
Merge "simpleperf: support [vdso]."
Yabin Cui [Fri, 19 May 2017 19:57:44 +0000 (12:57 -0700)]
simpleperf: support [vdso].
Before this CL, there is no way to parse symbols from [vdso] or unwind
through it. In this CL, simpleperf dumps [vdso] segment in its own memory space
to local file system, so it can be used for getting symbols or unwinding.
It takes care that vdso files for 32bit version and 64bit version are not
misused.
Bug: None.
Test: run simpleperf_unit_test.
Test: run simpleperf on processes using vdso.
Change-Id: I9233daf1d07df262a4a0fcdeadd3e544f3ccc906
Yabin Cui [Fri, 19 May 2017 19:02:15 +0000 (12:02 -0700)]
simpleperf: better support kernel symbols when running as root.
Instead of asking user to `echo 0 >/proc/sys/kernel/kptr_restrict`,
do it automatically in simpleperf.
Bug: None.
Test: run simpleperf as root.
Test: run simpleperf_unit_test.
Change-Id: If31aa03b6e30afb925cbf58835536ed4c969a635
Elliott Hughes [Fri, 19 May 2017 19:00:54 +0000 (19:00 +0000)]
Merge "boot_control_copy should #include <sys/sysmacros.h>." am:
542c1b32fa am:
59727ff28e am:
cc421ba741
am:
bfc949fe4c
Change-Id: Ib8b9b5e576cf1fef231510d4dad09ea8cfb9b735
Elliott Hughes [Fri, 19 May 2017 18:45:55 +0000 (18:45 +0000)]
Merge "boot_control_copy should #include <sys/sysmacros.h>." am:
542c1b32fa am:
59727ff28e
am:
cc421ba741
Change-Id: Ieec33547b5ab7e8f5ac01d72a80477516bcce7d3
Elliott Hughes [Fri, 19 May 2017 18:41:49 +0000 (18:41 +0000)]
Merge "boot_control_copy should #include <sys/sysmacros.h>." am:
542c1b32fa
am:
59727ff28e
Change-Id: I54c1f3020ba0c92a334966fcf52ccd92c395c329
Elliott Hughes [Fri, 19 May 2017 18:38:19 +0000 (18:38 +0000)]
Merge "boot_control_copy should #include <sys/sysmacros.h>."
am:
542c1b32fa
Change-Id: I8952802f43c1fef0616de41f70050827cdcda053
Treehugger Robot [Fri, 19 May 2017 18:30:59 +0000 (18:30 +0000)]
Merge "boot_control_copy should #include <sys/sysmacros.h>."
Yabin Cui [Fri, 19 May 2017 18:12:31 +0000 (18:12 +0000)]
Merge "simpleperf: enable two options by default." am:
7386d10cce am:
848d294253 am:
d2f70f60c5
am:
753e534226
Change-Id: I2ab4432bf6bccf0f73b03ba3e1e3ca1cab0fd973
Yabin Cui [Fri, 19 May 2017 18:11:03 +0000 (18:11 +0000)]
Merge "simpleperf: enable two options by default." am:
7386d10cce am:
848d294253
am:
d2f70f60c5
Change-Id: I9cbf0eaacdc8bdffba43013028c5203a7c46e516