OSDN Git Service

android-x86/system-extras.git
4 years agoMerge "Add cross-process coverage flushing for the LLVM toolchain." am: d8ef1421c2...
Automerger Merge Worker [Wed, 22 Jan 2020 22:44:56 +0000 (22:44 +0000)]
Merge "Add cross-process coverage flushing for the LLVM toolchain." am: d8ef1421c2 am: 50811f5a41

Change-Id: Id7c0d4745d3d7d7e60b79aed6a9eddbc7a6eb729

4 years agoMerge "Add cross-process coverage flushing for the LLVM toolchain."
Oliver Nguyen [Wed, 22 Jan 2020 22:42:14 +0000 (14:42 -0800)]
Merge "Add cross-process coverage flushing for the LLVM toolchain."
am: d8ef1421c2

Change-Id: I7e58c5f365ff8238a06aa049394abaa673477b24

4 years agoMerge "Add cross-process coverage flushing for the LLVM toolchain."
Oliver Nguyen [Wed, 22 Jan 2020 22:34:36 +0000 (22:34 +0000)]
Merge "Add cross-process coverage flushing for the LLVM toolchain."

4 years agoMerge "Add warning for slow file write" am: 47bdf26065 am: 1bfd390ff4
Automerger Merge Worker [Fri, 17 Jan 2020 22:11:04 +0000 (22:11 +0000)]
Merge "Add warning for slow file write" am: 47bdf26065 am: 1bfd390ff4

Change-Id: I7e16ac19970af1903224c2c3db7d8a8fe7eb72d2

4 years agoMerge "Add warning for slow file write"
Wei Wang [Fri, 17 Jan 2020 21:29:22 +0000 (13:29 -0800)]
Merge "Add warning for slow file write"
am: 47bdf26065

Change-Id: I24ed4ac9d311bc0482a30c500fd11ae2c1f2db48

4 years agoMerge "Add warning for slow file write"
Treehugger Robot [Fri, 17 Jan 2020 19:31:10 +0000 (19:31 +0000)]
Merge "Add warning for slow file write"

4 years agoAdd warning for slow file write
Wei Wang [Fri, 17 Jan 2020 02:26:12 +0000 (18:26 -0800)]
Add warning for slow file write

Bug: 147833210
Test: Build
Change-Id: I07a7220016c29ba290b491fbc86603f06c4b2179

4 years agoMerge "DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114)...
Automerger Merge Worker [Thu, 16 Jan 2020 02:01:16 +0000 (02:01 +0000)]
Merge "DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master am: 8d0a773d3f

Change-Id: I7b8cf87910e65a10dec9ccbfb578dc1fde6deb80

4 years agoDO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage...
Automerger Merge Worker [Thu, 16 Jan 2020 01:46:06 +0000 (01:46 +0000)]
DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master am: 0012ff1096

Change-Id: I48d8c8fb323310bd2411337410782c9620688e1f

4 years agoMerge "DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114)...
TreeHugger Robot [Thu, 16 Jan 2020 01:43:37 +0000 (01:43 +0000)]
Merge "DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master

4 years agoMerge "simpleperf: add doc to show annotated source code and disassembly." am: 4f94e9...
Automerger Merge Worker [Thu, 16 Jan 2020 01:26:04 +0000 (01:26 +0000)]
Merge "simpleperf: add doc to show annotated source code and disassembly." am: 4f94e91035 am: 67a852278f

Change-Id: Id4f384f728d8352c0ec32382ca69209f25a8ca88

4 years agoMerge "simpleperf: remove code handling cpu hotplug." am: 695939dd24 am: 56e0946803
Automerger Merge Worker [Thu, 16 Jan 2020 01:25:38 +0000 (01:25 +0000)]
Merge "simpleperf: remove code handling cpu hotplug." am: 695939dd24 am: 56e0946803

Change-Id: I75927920f527214e59dee1dc449883555d52ed16

4 years agoMerge "simpleperf: add doc to show annotated source code and disassembly."
Yabin Cui [Thu, 16 Jan 2020 01:15:23 +0000 (17:15 -0800)]
Merge "simpleperf: add doc to show annotated source code and disassembly."
am: 4f94e91035

Change-Id: Ib716d71b1ac67ed82f4fab4764d8b3f95f1086c8

4 years agoMerge "simpleperf: remove code handling cpu hotplug."
Yabin Cui [Thu, 16 Jan 2020 01:14:45 +0000 (17:14 -0800)]
Merge "simpleperf: remove code handling cpu hotplug."
am: 695939dd24

Change-Id: I61684b51b73a357744d6cdd8487c77dc1351bfbe

4 years agoMerge "simpleperf: add doc to show annotated source code and disassembly."
Yabin Cui [Thu, 16 Jan 2020 01:00:16 +0000 (01:00 +0000)]
Merge "simpleperf: add doc to show annotated source code and disassembly."

4 years agoMerge "simpleperf: remove code handling cpu hotplug."
Yabin Cui [Thu, 16 Jan 2020 00:59:55 +0000 (00:59 +0000)]
Merge "simpleperf: remove code handling cpu hotplug."

4 years agoDO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage...
Xin Li [Wed, 15 Jan 2020 23:59:16 +0000 (15:59 -0800)]
DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master

Bug: 146167222
Change-Id: I4439c7d422cbed859600ed9da4592a18b7a6ab41

4 years agoMerge "CtsKernelConfigTestCases secondary_user" am: b8d12d31f1 am: 061831ecad
Automerger Merge Worker [Wed, 15 Jan 2020 19:58:44 +0000 (19:58 +0000)]
Merge "CtsKernelConfigTestCases secondary_user" am: b8d12d31f1 am: 061831ecad

Change-Id: Ieaa9f11112edec7a10e9cb5fbd4e8bedc313c9ea

4 years agoMerge "CtsKernelConfigTestCases secondary_user"
jovanak [Wed, 15 Jan 2020 19:46:29 +0000 (11:46 -0800)]
Merge "CtsKernelConfigTestCases secondary_user"
am: b8d12d31f1

Change-Id: I5546a80c7ebcf088ae7546534da825048f824171

4 years agoMerge "CtsKernelConfigTestCases secondary_user"
Treehugger Robot [Wed, 15 Jan 2020 19:39:21 +0000 (19:39 +0000)]
Merge "CtsKernelConfigTestCases secondary_user"

4 years agoMerge "simpleperf: prepare for selinux change." am: f80bf86b1c am: 1111483e44
Automerger Merge Worker [Wed, 15 Jan 2020 18:51:15 +0000 (18:51 +0000)]
Merge "simpleperf: prepare for selinux change." am: f80bf86b1c am: 1111483e44

Change-Id: Ief08dfda251e6e3d4f1edc19de63311e790d7052

4 years agoMerge "simpleperf: prepare for selinux change."
Yabin Cui [Wed, 15 Jan 2020 18:40:42 +0000 (10:40 -0800)]
Merge "simpleperf: prepare for selinux change."
am: f80bf86b1c

Change-Id: I06bc98c09f49e746eb062d95c2a71671cce8b4b8

4 years agoMerge "simpleperf: prepare for selinux change."
Yabin Cui [Wed, 15 Jan 2020 18:39:12 +0000 (18:39 +0000)]
Merge "simpleperf: prepare for selinux change."

4 years agoMerge "Fix help string for f2fs" am: a23d09ced2 am: e079ef4dbe
Automerger Merge Worker [Wed, 15 Jan 2020 15:34:13 +0000 (15:34 +0000)]
Merge "Fix help string for f2fs" am: a23d09ced2 am: e079ef4dbe

Change-Id: I561024dd94398e98429bebe045451717472e68c9

4 years agoMerge "Fix help string for f2fs"
Daniel Rosenberg [Wed, 15 Jan 2020 15:26:15 +0000 (07:26 -0800)]
Merge "Fix help string for f2fs"
am: a23d09ced2

Change-Id: If16d0265ae31a72868857033eb3bd578be435021

4 years agoMerge "Fix help string for f2fs"
Treehugger Robot [Wed, 15 Jan 2020 15:24:14 +0000 (15:24 +0000)]
Merge "Fix help string for f2fs"

4 years agoMerge "fec: Add liblog as a dependency where libbase is used" am: 18ed23f3a4 am:...
Automerger Merge Worker [Wed, 15 Jan 2020 08:23:40 +0000 (08:23 +0000)]
Merge "fec: Add liblog as a dependency where libbase is used" am: 18ed23f3a4 am: 827af89476

Change-Id: I2281b77d2864efbe188efd9d3932a74ca4371599

4 years agoMerge "fec: Add liblog as a dependency where libbase is used"
Tom Cherry [Wed, 15 Jan 2020 08:11:44 +0000 (00:11 -0800)]
Merge "fec: Add liblog as a dependency where libbase is used"
am: 18ed23f3a4

Change-Id: If82f0cc303a415243cd0a2c9c6dd4fd70f7f7330

4 years agoMerge "fec: Add liblog as a dependency where libbase is used"
Treehugger Robot [Wed, 15 Jan 2020 08:10:41 +0000 (08:10 +0000)]
Merge "fec: Add liblog as a dependency where libbase is used"

4 years agosimpleperf: remove code handling cpu hotplug.
Yabin Cui [Wed, 15 Jan 2020 00:43:43 +0000 (16:43 -0800)]
simpleperf: remove code handling cpu hotplug.

cpu hotplug code was disabled in record cmd long time ago, and
becomes obsolete as pixel devices seem no long use cpu hotplug
for thermal control.

Bug: none
Test: run simpleperf_unit_test.
Change-Id: I75fc522792e33afd16dd805ee0c9946ad4a6c67a

4 years agosimpleperf: prepare for selinux change.
Yabin Cui [Mon, 13 Jan 2020 22:48:01 +0000 (14:48 -0800)]
simpleperf: prepare for selinux change.

To work with controlling perf_events via selinux:

1. Check security.perf_harden property at the entry of simpleperf.
2. Record tracepoint raw data only when running as root.

Bug: 139860059
Test: run simpleperf_unit_test.
Change-Id: I40082de0010949e54fb707f385220157a71f266b

4 years agofec: Add liblog as a dependency where libbase is used
Tom Cherry [Tue, 14 Jan 2020 22:05:42 +0000 (14:05 -0800)]
fec: Add liblog as a dependency where libbase is used

Bug: 119867234
Test: build

Change-Id: I49d2110a5469c4c58bf2587f8d7e4a5b8981caac

4 years agoMerge "Add cache for --binary filter in inject cmd." am: 88b0c7f825 am: ae6b56fd08
Automerger Merge Worker [Tue, 14 Jan 2020 10:25:25 +0000 (10:25 +0000)]
Merge "Add cache for --binary filter in inject cmd." am: 88b0c7f825 am: ae6b56fd08

Change-Id: Ic8b08f4c560f090bf515b5caab02f80ea8442a0b

4 years agoMerge "Add cache for --binary filter in inject cmd."
Yi Kong [Tue, 14 Jan 2020 10:10:32 +0000 (02:10 -0800)]
Merge "Add cache for --binary filter in inject cmd."
am: 88b0c7f825

Change-Id: Ibdfe77b6e0695bfc1115a2fce63e77f4a1de5e56

4 years agoMerge "Add cache for --binary filter in inject cmd."
Yi Kong [Tue, 14 Jan 2020 10:08:39 +0000 (10:08 +0000)]
Merge "Add cache for --binary filter in inject cmd."

4 years agoMerge "simpleperf: remove inplace-sampler." am: 2fbf13af70 am: 7cfc93699d
Automerger Merge Worker [Tue, 14 Jan 2020 01:29:01 +0000 (01:29 +0000)]
Merge "simpleperf: remove inplace-sampler." am: 2fbf13af70 am: 7cfc93699d

Change-Id: I000ea7903db8a7cb45b82410b3c5a9c53bf21ae7

4 years agoMerge "simpleperf: remove inplace-sampler."
Yabin Cui [Tue, 14 Jan 2020 01:10:38 +0000 (17:10 -0800)]
Merge "simpleperf: remove inplace-sampler."
am: 2fbf13af70

Change-Id: I7ec156e6a7180d1cdfb86a35441b49c8af4fe595

4 years agoMerge "simpleperf: remove inplace-sampler."
Yabin Cui [Tue, 14 Jan 2020 01:09:03 +0000 (01:09 +0000)]
Merge "simpleperf: remove inplace-sampler."

4 years agosimpleperf: add doc to show annotated source code and disassembly.
Yabin Cui [Tue, 14 Jan 2020 00:56:51 +0000 (16:56 -0800)]
simpleperf: add doc to show annotated source code and disassembly.

Bug: 132371337
Test: none
Change-Id: I09b8855af7d8609e7c16c8120cacda46ce83de31

4 years agoCtsKernelConfigTestCases secondary_user
jovanak [Tue, 14 Jan 2020 00:32:28 +0000 (16:32 -0800)]
CtsKernelConfigTestCases secondary_user

Marks this CTS test module as NOT supporting secondary_user, meaning that
the tests are not eligible to be run from a regular Android user other
than the system user (i.e. other than user 0).

The reason for lack of elligibility is that the module restarts before running
the tests - the device ends up in user 0 by default upon reboot.

Tradefed infrastructure does not support restarting into different users at
the moment.

Bug: 141773058
Test: module passed with secondary_user params
 (--enable-optional-parameterization --module-parameter secondary_user)

Change-Id: I39fca13fe40b497cf7cb7a014d11f96e8174c953

4 years agoAdd cache for --binary filter in inject cmd.
Yi Kong [Mon, 13 Jan 2020 23:43:01 +0000 (15:43 -0800)]
Add cache for --binary filter in inject cmd.

Regex matching is slow. Cache the DSO to vastly improve performance when
the --binary filter is used.

Test: simpleperf_unit_test
Bug: 79161490
Change-Id: Idc7a8a588c8291ce59fab89ab0278aa0b3fe07f0

4 years agosimpleperf: remove inplace-sampler.
Yabin Cui [Mon, 13 Jan 2020 23:25:16 +0000 (15:25 -0800)]
simpleperf: remove inplace-sampler.

Remove obsolete code for inplace-sampler, which is never fully implemented.

Bug: none
Test: run simpleperf_unit_test.
Change-Id: I458c23e2d2331ec96c3c9d8462309eef544564b9

4 years agoAdd cross-process coverage flushing for the LLVM toolchain.
Oliver Nguyen [Tue, 10 Dec 2019 00:36:08 +0000 (16:36 -0800)]
Add cross-process coverage flushing for the LLVM toolchain.

Bug: 143977934
Test: Build with native coverage
Test: kill -37 <pid> and check for coverage in /data/misc/trace
Change-Id: Iadf93e62d92dc35cdaa35162ca4a75d26190db85

4 years agoMerge "simpleperf: dump all process maps for etm system wide recording." am: 10e605e0...
Automerger Merge Worker [Sat, 11 Jan 2020 02:12:52 +0000 (02:12 +0000)]
Merge "simpleperf: dump all process maps for etm system wide recording." am: 10e605e0aa am: df1ba217c6

Change-Id: I623b5d3811c687604a9aa5069efeba8cdf1e6609

4 years agoMerge "simpleperf: dump all process maps for etm system wide recording."
Yabin Cui [Sat, 11 Jan 2020 02:02:16 +0000 (18:02 -0800)]
Merge "simpleperf: dump all process maps for etm system wide recording."
am: 10e605e0aa

Change-Id: Iefe78076e2ad2704d4fdce47dc7f39f9cc3940c4

4 years agoMerge "simpleperf: dump all process maps for etm system wide recording."
Treehugger Robot [Sat, 11 Jan 2020 01:26:05 +0000 (01:26 +0000)]
Merge "simpleperf: dump all process maps for etm system wide recording."

4 years agoMerge "Dump coverage for all objects (a.out + dlopen()'d .so's)" am: df12a83287 am...
Automerger Merge Worker [Sat, 11 Jan 2020 00:23:34 +0000 (00:23 +0000)]
Merge "Dump coverage for all objects (a.out + dlopen()'d .so's)" am: df12a83287 am: 6f48e347c9

Change-Id: Icd8fe876edb8b2f5b464fd292ba785a711e908ef

4 years agoMerge "Dump coverage for all objects (a.out + dlopen()'d .so's)"
Ray Essick [Sat, 11 Jan 2020 00:08:38 +0000 (16:08 -0800)]
Merge "Dump coverage for all objects (a.out + dlopen()'d .so's)"
am: df12a83287

Change-Id: I3703e5913c296ef372bfcdf1493c94cfcdf32d47

4 years agoMerge "Dump coverage for all objects (a.out + dlopen()'d .so's)"
Treehugger Robot [Sat, 11 Jan 2020 00:05:36 +0000 (00:05 +0000)]
Merge "Dump coverage for all objects (a.out + dlopen()'d .so's)"

4 years agosimpleperf: dump all process maps for etm system wide recording.
Yabin Cui [Sat, 11 Jan 2020 00:00:11 +0000 (16:00 -0800)]
simpleperf: dump all process maps for etm system wide recording.

If don't dump all process maps, we may miss mapping info needed
to decode etm data.

Bug: 79161490
Test: run simpleperf manually.
Test: run simpleperf_unit_test.
Change-Id: Ic98d1b461b2c11a51147c67e8f269d5be10e962b

4 years agoDump coverage for all objects (a.out + dlopen()'d .so's)
Ray Essick [Thu, 9 Jan 2020 19:51:27 +0000 (11:51 -0800)]
Dump coverage for all objects (a.out + dlopen()'d .so's)

with code coverage enabled, the main object as well as each dlopen()ed
shared library include their own copies of the hooks for dumping gcov
data upon receiving signal GCOV_FLUSH_SIGNAL.  Only the last one to
register was actually dumped.
Here, we chain the signal handlers together so that each one will call
the previously registered handler to ensure that each object's coverage
data is dumped.

Bug: 139313557
Test: dump gcov data via kill -37 on module with dlopen()
Change-Id: I376df2df6b65acff95ad5d135a7ba2bf0eac3695

4 years agoMerge "Add liblog as a dependency where libbase is used" am: 6b9eafeaeb am: fa267cf479
Automerger Merge Worker [Fri, 10 Jan 2020 17:28:42 +0000 (17:28 +0000)]
Merge "Add liblog as a dependency where libbase is used" am: 6b9eafeaeb am: fa267cf479

Change-Id: I849c24a5219084f872d4c8b8efc0e5309b04c61d

4 years agoMerge "Add liblog as a dependency where libbase is used"
Tom Cherry [Fri, 10 Jan 2020 17:18:19 +0000 (09:18 -0800)]
Merge "Add liblog as a dependency where libbase is used"
am: 6b9eafeaeb

Change-Id: Iff60859217e380c362395dcde6097b5269134802

4 years agoMerge "Add liblog as a dependency where libbase is used"
Tom Cherry [Fri, 10 Jan 2020 16:56:33 +0000 (16:56 +0000)]
Merge "Add liblog as a dependency where libbase is used"

4 years agoMerge "Allow fec to be compiled with BUILD_HOST_static." am: 85da6a6813 am: 2e434cab14
Automerger Merge Worker [Fri, 10 Jan 2020 07:32:44 +0000 (07:32 +0000)]
Merge "Allow fec to be compiled with BUILD_HOST_static." am: 85da6a6813 am: 2e434cab14

Change-Id: Ib23c947689561500d32731360c00fc4315d502cb

4 years agoMerge "Allow fec to be compiled with BUILD_HOST_static."
Dario Freni [Fri, 10 Jan 2020 07:21:27 +0000 (23:21 -0800)]
Merge "Allow fec to be compiled with BUILD_HOST_static."
am: 85da6a6813

Change-Id: Id91c4bfb5bfe2a3370985192787afe683a081224

4 years agoMerge "Allow fec to be compiled with BUILD_HOST_static."
Treehugger Robot [Fri, 10 Jan 2020 07:19:46 +0000 (07:19 +0000)]
Merge "Allow fec to be compiled with BUILD_HOST_static."

4 years agoMerge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation"...
Automerger Merge Worker [Fri, 10 Jan 2020 04:10:56 +0000 (04:10 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation" am: 37275a4344 am: 6731d94b90

Change-Id: Iab6446206bdc5189f712152cb6eb9776a3c9ebab

4 years agoMerge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation"
Dmytro Chystiakov [Fri, 10 Jan 2020 04:02:07 +0000 (20:02 -0800)]
Merge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation"
am: 37275a4344

Change-Id: Id06b1d1f1e299b5fdda9efab1c6ec1ca6b8299cd

4 years agoMerge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation"
Treehugger Robot [Fri, 10 Jan 2020 03:45:39 +0000 (03:45 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on ARM binary translation"

4 years agoAdd liblog as a dependency where libbase is used
Tom Cherry [Thu, 9 Jan 2020 20:27:44 +0000 (12:27 -0800)]
Add liblog as a dependency where libbase is used

Bug: 119867234
Test: build
Change-Id: I2728559bbd3cd4f867b30baf53a62124b8abd0b6

4 years agoAllow fec to be compiled with BUILD_HOST_static.
Dario Freni [Thu, 9 Jan 2020 19:47:34 +0000 (19:47 +0000)]
Allow fec to be compiled with BUILD_HOST_static.

Bug: 144477678
Test: m fec; BUILD_HOST_static=1 m fec
Change-Id: Ic9d9fb65604e56e89a4c6ce75eb583beb34efe63

4 years agoFix help string for f2fs
Daniel Rosenberg [Wed, 18 Dec 2019 02:35:51 +0000 (18:35 -0800)]
Fix help string for f2fs

Help showed the operands in the wrong order. The script does not appear
to allow for there to be in different order, so fixing the help message

Test: None (could confirm necessary by invoking with flags in other
      order and seeing that it doesn't see the flags)

Change-Id: Ia0a5a41f4743caf03e39df7be53f717a2642b764

4 years agoMerge "Add utility to calculate digest from the root of verity tree" am: c8890b8d63...
Automerger Merge Worker [Wed, 8 Jan 2020 20:32:02 +0000 (20:32 +0000)]
Merge "Add utility to calculate digest from the root of verity tree" am: c8890b8d63 am: 45ab24cb3d

Change-Id: Idf440fd4a3adf6b7a5cda0e5d3870e5c4da32894

4 years agoMerge "Add utility to calculate digest from the root of verity tree"
Nikita Ioffe [Wed, 8 Jan 2020 20:17:34 +0000 (12:17 -0800)]
Merge "Add utility to calculate digest from the root of verity tree"
am: c8890b8d63

Change-Id: I64e0575ceade04959a2fe9ae6f96c7b0a8b5dd3f

4 years agoMerge "Add utility to calculate digest from the root of verity tree"
Nikita Ioffe [Wed, 8 Jan 2020 19:25:41 +0000 (19:25 +0000)]
Merge "Add utility to calculate digest from the root of verity tree"

4 years agosimpleperf: Omit dwarf-callgraph tests running on ARM binary
Dmytro Chystiakov [Tue, 7 Jan 2020 22:52:44 +0000 (14:52 -0800)]
simpleperf: Omit dwarf-callgraph tests running on ARM binary
translation

Bug: b/144472912
Test: Run ARM CtsSimpleperfTestCases module

Change-Id: Ia8eef58d6408532943baf5d848a77644a0adcf04
Signed-off-by: Dmytro Chystiakov <dmytro.chystiakov@intel.com>
4 years agoMerge "simpleperf: Accept --binary option as regex in inject cmd" am: 65ff02b927...
Automerger Merge Worker [Tue, 7 Jan 2020 02:07:38 +0000 (02:07 +0000)]
Merge "simpleperf: Accept --binary option as regex in inject cmd" am: 65ff02b927 am: c9dd6629d5

Change-Id: I94796dd78c303dd49700099ace2829d5f02a6661

4 years agoMerge "simpleperf: Accept --binary option as regex in inject cmd"
Yi Kong [Tue, 7 Jan 2020 01:55:50 +0000 (17:55 -0800)]
Merge "simpleperf: Accept --binary option as regex in inject cmd"
am: 65ff02b927

Change-Id: I64b38f53320599064b5fb31a408c4644cb3a5ebf

4 years agoMerge "simpleperf: Accept --binary option as regex in inject cmd"
Yi Kong [Tue, 7 Jan 2020 01:50:38 +0000 (01:50 +0000)]
Merge "simpleperf: Accept --binary option as regex in inject cmd"

4 years agosimpleperf: Accept --binary option as regex in inject cmd
Yi Kong [Mon, 6 Jan 2020 23:22:55 +0000 (15:22 -0800)]
simpleperf: Accept --binary option as regex in inject cmd

This would allow us to more efficiently generate AudoFDO profiles for
multiple binaries.

Test: simpleperf_unit_test
Bug: 79161490
Change-Id: I45b444b8cffd8eb72e4079dcf66a176da0da5b6d

4 years agoMerge "simpleperf: update simpleperf prebuilts to build 6087948." am: 143140761f...
Automerger Merge Worker [Mon, 6 Jan 2020 23:23:40 +0000 (23:23 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 6087948." am: 143140761f am: 74cfc4d18b

Change-Id: Ief2b50ee290b7305637a0de5d50369ba6c52a571

4 years agoMerge "simpleperf: update simpleperf prebuilts to build 6087948."
Yabin Cui [Mon, 6 Jan 2020 23:02:26 +0000 (15:02 -0800)]
Merge "simpleperf: update simpleperf prebuilts to build 6087948."
am: 143140761f

Change-Id: I089b6454a3ab2ccec08f749d3d403c3dfb7c6462

4 years agoMerge "simpleperf: update simpleperf prebuilts to build 6087948."
Yabin Cui [Mon, 6 Jan 2020 22:57:42 +0000 (22:57 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 6087948."

4 years agosimpleperf: update simpleperf prebuilts to build 6087948.
Yabin Cui [Sat, 21 Dec 2019 00:20:03 +0000 (16:20 -0800)]
simpleperf: update simpleperf prebuilts to build 6087948.

Taken from branch aosp-simpleperf-release.

Bug: none
Test: run test.py.

Change-Id: I5d23c151790bb71c12d8e5a81e3038af1109522b

4 years agoAdd utility to calculate digest from the root of verity tree
Nikita Ioffe [Sun, 5 Jan 2020 04:25:47 +0000 (04:25 +0000)]
Add utility to calculate digest from the root of verity tree

This function will help verifying that external hashtree wasn't
tampered. See another change in this topic for more context.

Test: atest build_verity_tree_test
Bug: 145670581
Change-Id: I10a8141a60eec142c77cde0048f0abf44b3406bb

4 years agoMerge "Extend bootctl with IBootControl1.1 API" am: 9fff8e3a7e am: 5e69c8b35d
Automerger Merge Worker [Thu, 2 Jan 2020 19:18:22 +0000 (19:18 +0000)]
Merge "Extend bootctl with IBootControl1.1 API" am: 9fff8e3a7e am: 5e69c8b35d

Change-Id: I23fb3f54ea146b35e158e05a982ca0dfc2547edf

4 years agoMerge "Extend bootctl with IBootControl1.1 API"
Alessio Balsini [Thu, 2 Jan 2020 19:01:13 +0000 (11:01 -0800)]
Merge "Extend bootctl with IBootControl1.1 API"
am: 9fff8e3a7e

Change-Id: Ib8a3413bfa931e7f149750540836fc0d1b9ae9a0

4 years agoMerge "Extend bootctl with IBootControl1.1 API"
Treehugger Robot [Thu, 2 Jan 2020 18:33:43 +0000 (18:33 +0000)]
Merge "Extend bootctl with IBootControl1.1 API"

4 years agoExtend bootctl with IBootControl1.1 API
Alessio Balsini [Thu, 19 Dec 2019 13:43:36 +0000 (13:43 +0000)]
Extend bootctl with IBootControl1.1 API

Extend bootctl to use the new API methods introduced in IBootControl1.1:
setSnapshotMergeStatus() and getSnapshotMergeStatus().

Test: adb shell
Bug: b/144783382
Change-Id: Id7acc927561aa17b37be65fa54faa55702d73958
Signed-off-by: Alessio Balsini <balsini@google.com>
4 years agoMerge "lpdump: Add support for the DISABLED flag." am: 8c441c44bf am: 3b9013ac84
Automerger Merge Worker [Fri, 27 Dec 2019 21:26:53 +0000 (21:26 +0000)]
Merge "lpdump: Add support for the DISABLED flag." am: 8c441c44bf am: 3b9013ac84

Change-Id: Iba8a6c87ab33000abb697899ee31abe3b438fcc9

4 years agoMerge "lpdump: Add support for the DISABLED flag."
David Anderson [Fri, 27 Dec 2019 21:01:26 +0000 (13:01 -0800)]
Merge "lpdump: Add support for the DISABLED flag."
am: 8c441c44bf

Change-Id: Iabcbba78a6b10a019e96ef7ffc2b848f80e50843

4 years agoMerge "lpdump: Add support for the DISABLED flag."
David Anderson [Fri, 27 Dec 2019 20:28:48 +0000 (20:28 +0000)]
Merge "lpdump: Add support for the DISABLED flag."

4 years agoMerge "simpleperf: clean up cmd_list.cpp." am: a7e3e6e03c am: 9596b66555
Automerger Merge Worker [Sat, 21 Dec 2019 01:58:01 +0000 (01:58 +0000)]
Merge "simpleperf: clean up cmd_list.cpp." am: a7e3e6e03c am: 9596b66555

Change-Id: I01f512880ffb4ca32b1dc8c9cde09979f46f461f

4 years agoMerge "simpleperf: clean up cmd_list.cpp."
Yabin Cui [Sat, 21 Dec 2019 01:43:00 +0000 (17:43 -0800)]
Merge "simpleperf: clean up cmd_list.cpp."
am: a7e3e6e03c

Change-Id: Ibf059bcf86d2004715d49f409b004a2c77851b69

4 years agoMerge "simpleperf: clean up cmd_list.cpp."
Treehugger Robot [Sat, 21 Dec 2019 01:39:34 +0000 (01:39 +0000)]
Merge "simpleperf: clean up cmd_list.cpp."

4 years agosimpleperf: clean up cmd_list.cpp.
Yabin Cui [Fri, 20 Dec 2019 20:33:09 +0000 (12:33 -0800)]
simpleperf: clean up cmd_list.cpp.

1. Change return type of IsEventTypeSupported.
2. Use callback function to check if an event belongs to a type.

Bug: none
Test: run simpleperf_unit_test.

Change-Id: I2267d21c2e9501cb534a6520abb20d563de7e545

4 years agoMerge "Don't padd the digest during hash computation" am: 1370b44991 am: 1edcea66af
Automerger Merge Worker [Fri, 20 Dec 2019 22:17:44 +0000 (22:17 +0000)]
Merge "Don't padd the digest during hash computation" am: 1370b44991 am: 1edcea66af

Change-Id: Icafd25a67c3bdd34798425d50f8b21681f6d3a4f

4 years agoMerge "Don't padd the digest during hash computation"
Tianjie Xu [Fri, 20 Dec 2019 22:03:29 +0000 (14:03 -0800)]
Merge "Don't padd the digest during hash computation"
am: 1370b44991

Change-Id: I2d607db282c79adf2981b51d66063f3d1b3d0386

4 years agoMerge "Don't padd the digest during hash computation"
Tianjie Xu [Fri, 20 Dec 2019 21:44:11 +0000 (21:44 +0000)]
Merge "Don't padd the digest during hash computation"

4 years agoMerge "simpleperf: fix pmu event tests." am: 0b0c2c9862 am: f043c4b15e
Automerger Merge Worker [Fri, 20 Dec 2019 21:19:20 +0000 (21:19 +0000)]
Merge "simpleperf: fix pmu event tests." am: 0b0c2c9862 am: f043c4b15e

Change-Id: Ia8ce30bf1c4acee739eec58c952f507e8fd986c2

4 years agoMerge "simpleperf: fix pmu event tests."
Yabin Cui [Fri, 20 Dec 2019 21:01:21 +0000 (13:01 -0800)]
Merge "simpleperf: fix pmu event tests."
am: 0b0c2c9862

Change-Id: I5d1abc8f96ae7e822512b4741f5a1343264fa9d7

4 years agoMerge "simpleperf: fix pmu event tests."
Treehugger Robot [Fri, 20 Dec 2019 20:51:51 +0000 (20:51 +0000)]
Merge "simpleperf: fix pmu event tests."

4 years agosimpleperf: fix pmu event tests.
Yabin Cui [Fri, 20 Dec 2019 19:01:58 +0000 (11:01 -0800)]
simpleperf: fix pmu event tests.

Bug: none
Test: run simpleperf_unit_test in shell and root.
Change-Id: I9745b9cdaf4ad2c0c0d867442d53e94d68c33806

4 years agoMerge "simpleperf: Suport "pmu" type events in list command" am: f556af4808 am: 3df9b...
Automerger Merge Worker [Fri, 20 Dec 2019 18:20:17 +0000 (18:20 +0000)]
Merge "simpleperf: Suport "pmu" type events in list command" am: f556af4808 am: 3df9b303ed

Change-Id: I1f0741d1dfc23d4584584069122d6b555744cbf2

4 years agoMerge "simpleperf: Use PMU's cpumask if available" am: 30c9870e95 am: c4aa110fa2
Automerger Merge Worker [Fri, 20 Dec 2019 18:20:08 +0000 (18:20 +0000)]
Merge "simpleperf: Use PMU's cpumask if available" am: 30c9870e95 am: c4aa110fa2

Change-Id: Ib0928d52f1a2d4e83c0f0867437ba3102f55ecaf

4 years agoMerge changes I626b8146,Ibdf1180e am: 7e9bdd2a75 am: 4caac7405b
Automerger Merge Worker [Fri, 20 Dec 2019 18:19:01 +0000 (18:19 +0000)]
Merge changes I626b8146,Ibdf1180e am: 7e9bdd2a75 am: 4caac7405b

Change-Id: Iea8289fc14a0080d0f88596d4d5dfed042b927f6

4 years agoMerge "simpleperf: Suport "pmu" type events in list command"
Namhyung Kim [Fri, 20 Dec 2019 18:03:49 +0000 (10:03 -0800)]
Merge "simpleperf: Suport "pmu" type events in list command"
am: f556af4808

Change-Id: If2e406931e3f32756f76451c445a3a5e8f2862ab

4 years agoMerge "simpleperf: Use PMU's cpumask if available"
Namhyung Kim [Fri, 20 Dec 2019 18:03:30 +0000 (10:03 -0800)]
Merge "simpleperf: Use PMU's cpumask if available"
am: 30c9870e95

Change-Id: I5de955705001ba7a48edf46cbf24255e7aaf4153

4 years agoMerge changes I626b8146,Ibdf1180e
Namhyung Kim [Fri, 20 Dec 2019 18:03:02 +0000 (10:03 -0800)]
Merge changes I626b8146,Ibdf1180e
am: 7e9bdd2a75

Change-Id: I698086434bda8c22369065149437a148b1dd9471