Age | Commit message (Collapse) | Author |
|
Change-Id: I3cece9a2e4de9f09e946f76b00fb277fca02633b
|
|
Execute the commands with the API version where the command was
introduced. This makes it possible to run the v1.0 HAL commands on
a device where v1.1 HAL implementation is not available.
Without this patch, on devices that only support bootcontrol v1.0 API,
bootctl would just fail with error message.
Bug: 160405575
Test: Execute command on device that only implements v1.0 API
adb shell bootctl hal-info
Change-Id: I56e9a81bcae49b6859b04394d571b5151a235675
Signed-off-by: Håkan Kvist <hakan.kvist@sony.com>
Signed-off-by: Alessio Balsini <balsini@google.com>
|
|
Change-Id: Ia633872d63a12c43ee6d492eee2aea252ddbc827
|
|
Bug:158702468
Test: Run bootanalyze and see there is no error when the
event time is 0
Change-Id: If3efa4c33a70cf6168a777f0f442fe1557b600b4
|
|
Change-Id: Iad7d55ba99cd81a867ede44fd7b46472881a94d2
|
|
Some Socs like Broadcom STB will not be available when
disable jtag(non-invasive debug), so omit tests requiring
hw counters on them.
Bug: 158095412
Bug: 154157678
Test: run cts -m CtsSimpleperfTestCases -t record_cmd#generate_samples_by_hw_counters
Test: hw counters.
Change-Id: Iddfb34bfa1d66e37398bb162f8e1cfa645d756f4
Merged-In: Iddfb34bfa1d66e37398bb162f8e1cfa645d756f4
(cherry picked from commit 572c226db410b2c3b20e3a63cc6c5e9f0aeed65c)
|
|
Change-Id: I2d5c65ba6b7c8c34d8606a3584d7936251e4973d
|
|
It's possible that the an image doesn't contain a hashtree
descriptor. And the current raises a segfault when we attempt
to validate and copy a non existing descriptor.
Bug: 157778739
Test: call fec_open on dtbo image.
Change-Id: Ieb5acf016ceeb547f2b23de43d4276ea4d013a6f
(cherry picked from commit 90e7155bdd10039448bbc5ee4636f14c0119718e)
|
|
Change-Id: Ia5b0f65b2245a11c36e30688cb73df569f65f122
|
|
Bug: 144046242
Test: atest libfscrypt_unit_test
Test: Change fstab on Cuttlefish with patched kernel, check dir policy
Cherry-Picked-From: 476ce0a30615c1249969bedba0f1fb084d8ef193
Merged-In: I362f9a55fa28bb25afe992c8b0bae48546fc9ab0
Change-Id: I362f9a55fa28bb25afe992c8b0bae48546fc9ab0
|
|
Change-Id: I3bbfe4f5d361406b4fd073014ca47a25eb2a931f
|
|
Currently, simpleperf gets branch_addr from instruction decoder.
But OpenCSD is changed to cache InstrRange elements. Thus when
simpleperf gets an InstrRange element, the instruction decoder
may point to an instruction executed later.
Fix it by using the start_addr of the next InstrRange element
as the branch_addr of the current InstrRange element.
Also add a test.
Also use recorded binary path in output to help test.
Bug: 153039105
Test: run simpleperf manually so the inject result doesn't
Test: change for a 10s system wide recording data.
Test: run simpleperf_unit_test.
Change-Id: I6fdf32d3bac18ed3762c944c282ec881d09395b4
Merged-In: I6fdf32d3bac18ed3762c944c282ec881d09395b4
(cherry picked from commit 2c294914c1eeb30754a8a2449795b296bd2176e9)
|
|
Add MapLocator as a packet callback. It is then used
to find maps in MemAccess and InstrRangeParser.
MapLocator uses a separate cache for each trace id.
It also fix a bug that let a kernel map override
following user maps.
Bug: 153039105
Test: run simpleperf_unit_test.
Change-Id: Ic285f81ac05c3e65b481fb97a5355282639692e4
Merged-In: Ic285f81ac05c3e65b481fb97a5355282639692e4
(cherry picked from commit 418ba0d37570172c4ee5e24fc452b3a5ef9ae665)
|
|
This is to keep file mapping memory buffer. And support reading
more than one content in one open instance in the future.
It also supports embedded elf files in apks as normal elf files.
Bug: 153039105
Test: run simpleperf_unit_test.
Change-Id: Ia424926d112cbcd9970f11ffa56d047ff6df7872
Merged-In: Ia424926d112cbcd9970f11ffa56d047ff6df7872
(cherry picked from commit 02e2033f9ef34be0189e151bf6fef60b1285afd9)
|
|
Change-Id: Ic37d96b92df1340182e3d8200e6feebde0428cd8
|
|
|
|
Change-Id: Icea7e7c534461e77ecd891fa53f713c091f9b9ab
|
|
Fix test apk by always using internal cache dir.
Bug: 153605370
Test: run simpleperf_unit_test.
Change-Id: Ie38242e2034f0f9888da380f7cee696bf3877818
(cherry picked from commit 42ce297dff6df9c6a54366b9090a1bab7f52e638)
|
|
With b/152655547, all aidl_interface modules are considered as stable
unless it is explicitly with "unstable: true". This change marks the
aidl_interface that are not used across updatable module bounraries
as unstable, so that the build system does not run the API
dumping/checking on them.
Bug: 152655547
Test: m
Change-Id: I8291dca96fcca0c45a2501ab88970ace360a7ac7
|
|
Change-Id: I2842a65c2d592dcea3d23c72f6d8fc96b9fcb6e7
|
|
|
|
Change-Id: I978aa5fc8dc8d9e68dc12859c47620099c1680a5
|
|
|
|
Change-Id: I63d714d08c7833bb162273d44e6f4de3eeff2ffb
|
|
The tests are only needed in vts10 suite, as they are part of CTS
package and no longer needed in vts 11.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL removes vts10 tests from vts suite.
It won't change test logic or behavior.
Change-Id: Idadd1f99ba3620c36a7aca4f648a013da40bd3a0
Merged-In: Idadd1f99ba3620c36a7aca4f648a013da40bd3a0
|
|
sys.init.perf_lsm_hooks isn't accessible in app context, thus
checking it in CanRecordRawData() breaks recording app with
--trace-offcpu option.
Fix it by not recording raw data in non-root users.
Bug: 153381808
Test: run simpleperf_unit_test.
Test: run test.py *TraceOffCpu*.
Change-Id: Id87c73d25b19b265c022c4fa6ebb8e7d3a84152b
(cherry picked from commit c98cb1193d73c1fa616d0d366a221751fde38f67)
|
|
We may grab the by-name path for /data's block device. Use realpath to
ensure we grab the correct name to access the sysfs entries.
Bug: 153049163
Test: Run /vendor/bin/checkpoint_gc
Change-Id: I297c7b60105d1966eb1304222a9727794035d3fc
|
|
Change-Id: I0b5a71ea69092eb2a5fa7a5997e4f8b0b09640a3
|
|
For task-clock, it uses software counter, so multiplexing will not
happen. And it isn't proper to scale comment value in per-core report.
For rate computation involving runtime, the current way to find runtime
is via FindRunningTimeForSummary() function. But that function doesn't
take care of thread and core match. And it seems more proper to use
the sum of runtime given by perf counters. So switch to it.
Also add some tests for comment string.
Also adjust comment title in report.
Bug: 152911261
Test: run simpleperf_unit_test.
Change-Id: I475fae32952ed2680888c6a76b43cfb10bc9b06e
(cherry picked from commit 6922c076ce73fd4bca357aeea0d20797e3321749)
|
|
This is to test it in later CLs.
Bug: 152911261
Test: run simpleperf_unit_test.
Change-Id: I0cdad299654eb36db4a64363335bfa03e54ee7b1
(cherry picked from commit 5271aa719b7cae4cddc9f67803648f17f9b24018)
|
|
Change-Id: Ib5620a96d301c8b5c47ecfcb75bc498be955d346
|
|
Change-Id: I4c520cf922dbf64b828384387ef43c1546965de8
|
|
Fix a bug of aggregating time_enabled,time_running introduced
in
https://android-review.googlesource.com/c/platform/system/extras/+/1220206/1/simpleperf/cmd_stat.cpp#1012.
Move some code to cmd_stat_impl.h to add tests.
Bug: 152518722
Test: run simpleperf_unit_test.
Change-Id: I50dcaf9aa83de838cc00554420d232f1a8d54601
(cherry picked from commit b3ed39b2ce227407cd828c458233e9dc222641e8)
|
|
Improve document reported by issue
https://github.com/android/ndk/issues/1214.
Also clean up stat ouptut:
1. Skip output for threads and cpus not running.
2. Tiny fix in column width adjustment.
Bug: 152518722
Test: run simpleperf_unit_test.
Change-Id: Ic032a12daa50bfb4c1552c94d8e7e7822c2f4ad8
(cherry picked from commit 3ef0328b7613f97a516163438869d435515a496a)
|
|
* changes:
Allow building libfec without libavb
Suport parsing hashtree and ecc data from avb
|
|
|
|
Add stub implementation for avb related functions to allow building
libfec without libavb support. This is useful to build the fec binary
when libavb isn't available on mac.
Bug: 144388532
Test: build, unittests pass
Change-Id: I26f8de390c3c2c37bf48418fb31038ddd9863866
(cherry picked from commit 87d230b72992e6fa170180a919721315de7c597b)
|
|
Bug: 137581945
Test: Build
Change-Id: I6fff2b514f265b032ac3223d1548656e644f073f
|
|
Add support to parse the AvbHashtreeFooter in the avb image. We are in
particular looking for the ecc and hashtree data so that they can laster
be used for error correction.
Bug: 144388532
Test: unittests pass
Change-Id: I3e53e3e84a58b00346274f9946cafc135702ac82
Merged-In: I3e53e3e84a58b00346274f9946cafc135702ac82
(cherry picked from commit 398e8c30ccb062ced809c11e9335b87352af5582)
|
|
Change-Id: I7fc9c464211f3ce1cefb9efb9d077615854b6f13
|
|
into rvc-dev
|
|
|
|
Make the test pass with a lock screen.
Bug: 151110118
Test: run CtsSimpleperfTestCases with a lock screen.
Change-Id: I682daadc1a79474496594ef697917f0b8abca5c1
(cherry picked from commit 6c03e04df7ed218ea4d227ac847587827f19594e)
|
|
It contains the full ART dex support which is part of the ART APEX and
hence shouldn't go into the system image when ART is updatable.
For some libraries that are only used for testing or on host this
matters less, but for the sake of simplicity we limit the use of
libdexfile_support_static as much as possible.
Test: Build and boot
Test: mmm system/extras/simpleperf/
Test: atest simpleperf_unit_test
Bug: 142944931
Bug: 151466650
Change-Id: Iae9b57aded398e6f3b56329e3e056f7bfd8ed0b5
Merged-In: Iae9b57aded398e6f3b56329e3e056f7bfd8ed0b5
|
|
Change-Id: Iea2226220231c21b75fb03d55c4d98c0460a35df
|
|
Also add dumps for active request/hint per node
Bug: 147840817
Test: boost flame
Test: adb shell /data/nativetest64/libperfmgr_test/libperfmgr_test
Change-Id: I4898101f5c8a8d1c69de2caf9ad6f5b4a106f6c6
|
|
Change-Id: Ic5d444b1cdf9c5da38f344239b6558c18cd32ea4
|
|
Bug: 111098032
Test: build
Change-Id: Ided9f4eaf2401ec2326771cb00a966e26d79b8fa
|
|
Change-Id: I64901f057a821a3d36575f44a17de437965c3001
|
|
Bug: 147840817
Test: libperfmgr_test all passed
Change-Id: I9f2f147da6748124cf09e48892ae7768074ed1a8
|