Age | Commit message (Collapse) | Author |
|
tm-qpr3-release
Change-Id: Ic00472225ea17af4dc761b2ac18ae981cd836548
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours" into android13-tests-dev am: 6779e405d0 am: d766f83731 am: 6f55406858
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I1833f6ef991541f0c024c9c50a8a32cac92eadf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours am: 9511f8dfee -s ours am: e371085cdc -s ours am: d39aa6d77b -s ours
am skip reason: skipped by user yabinc
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I1fcff2c94f777516b4cc782b01e0aad87da03dc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours" into android13-tests-dev am: 6779e405d0 am: d766f83731
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I4340ba0d8a66cf0176eba02d6070520890420750
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours am: 9511f8dfee -s ours am: e371085cdc -s ours
am skip reason: skipped by user yabinc
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: Ie62a4dc297673cd482de77f885afd3e5aa414940
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours" into android13-tests-dev am: 6779e405d0
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I8f7f4ca62445c222e25333e566949060db08cb67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours am: 9511f8dfee -s ours
am skip reason: skipped by user yabinc
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I6b2bf53a1da0e672446e75101d0681670e18585c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
tm-qpr3-release
Change-Id: I0be3be4043d1001e49041394d278494e6eb88dd0
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/20514526
Change-Id: I1a5146b7d4683838eb53aaad018f01c6be816a30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/20514526
Change-Id: I3e8714227a897f1a6cf5d1865c6bd347f95c32ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
tm-qpr3-release
Change-Id: Ia5821e93010ad4d2ac5ebe8798df3d9708decd50
|
|
Bug:259849956
Merge ab/9299233
Merged-In: Ib4c566b0bd0e5c761d9c78620caa13703c10589c
Change-Id: If320111be77cb6d02307b8442148140a0c494169
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours" into android13-tests-dev
|
|
check_trampoline_after_art_jni_methods test." into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev am: b2dee26f98 -s ours
am skip reason: skipped by user yabinc
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: Ia5c9bd2a9a39fc074911473337953de650cdce24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
into android12-tests-dev am: 8aff5ada38" into android12L-tests-dev
|
|
android12-tests-dev am: 8aff5ada38
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2322758
Change-Id: I27131a851f65bd95cb5fb548a160540877d42b30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
android12-tests-dev
|
|
Loose the test and IsArtEntry() function to allow using
art_quick_generic_jni_trampoline.
(cherry picked from commit 41677a6ed702e6394912af43483b5b785562a79b)
Bug: 260538122
Test: run simpleperf_unit_test
Change-Id: Ia554c4186ce804601138160e1320421ee7ede3d0
|
|
android12L-tests-dev am: 942b61f7cf" into android13-tests-dev
|
|
am: 942b61f7cf
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2216082
Change-Id: I279cb25b42ff4b57fa1fe623a68b97c1ed42cd66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Without the change, CtsSimpleperfTestCases failed on arm64.
Bug: 243612327
Test: None
Change-Id: Ib4c566b0bd0e5c761d9c78620caa13703c10589c
(cherry picked from commit fa815d04c8756eb2f3bd2faafcd66f829909db7b)
|
|
* changes:
simpleperf: accept failures when getting hw counters on a cpu.
simpleperf: stat: don't open event files across cpus.
|
|
When built as a 32-bit program, simpleperf can't set sched_affinity
to a 64-bit only CPU. That can make simpleperf not be able to get
hardware counters on that CPU.
Bug: 243065368
Bug: 243479304
Test: run simpleperf_unit_test
Change-Id: I0eb2841e191e88a96eeae53ec95b265db194cfd8
(cherry picked from commit 5aded99e9925531836b0e2b511b1448b4d64785e)
|
|
When monitoring an hardware event for a thread running on all cpus,
the stat cmd opens one event file to monitor the thread across all
cpus. This works because CPU PMUs on all cpus are managed by one
pmu object in perf event driver in the kernel. And the event file is
bounded to a pmu object. So it can transfer with the thread between
cpus.
But now big/little ARM cores may have different numbers of CPU PMU
hardware counters. To fully use them, CPU PMUs on big/little cores
need to be managed by different pmu objects. As a result, event files
can't be transfered between cpus belonging to different pmu objects.
To work with this, this patch changes the stat cmd to open one event
file for each cpu. But after that, we can't tell if hardware counter
multiplexing happens by checking if runtime equals enabled time. So
we avoid showing the runtime / enabled_time percentage. Instead,
we check if events used are more than hardware counters available on
each cpu.
Bug: 243479304
Bug: 243065368
Test: simpleperf_unit_test
Change-Id: I0eb6acbdb2c23bd726be90232a8d97285dac5482
(cherry picked from commit 4ed8e11cc2adf37eb95b922f51a029617c875874)
|
|
android13-tests-dev
|
|
android13-tests-dev
|
|
Little/Big cores may have different numbers of CPU PMU hardware counters.
So check them separately.
Bug: 243479304
Bug: 243034569
Test: run simpleperf_unit_test
Change-Id: I33527d69bc935b8523482feaf98378c5f6641762
(cherry picked from commit 6b771a2e12740f4bbcef515d772e62b364d87858)
|
|
Because percentage isn't correct after we open an event for each cpu.
Bug: 243065368
Bug: 243479304
Test: run simpleperf_unit_test
Change-Id: I67bc23594e82afce040de7755deb9b274b8ad8b8
(cherry picked from commit abc8ee2e0f792d24562405159ae46be19a1c8acb)
|
|
When built as a 32-bit program, simpleperf can't set sched_affinity
to a 64-bit only CPU. That can make simpleperf not be able to get
hardware counters on that CPU.
Bug: 243065368
Bug: 243479304
Test: run simpleperf_unit_test
Change-Id: I0eb2841e191e88a96eeae53ec95b265db194cfd8
(cherry picked from commit 5aded99e9925531836b0e2b511b1448b4d64785e)
|
|
When monitoring an hardware event for a thread running on all cpus,
the stat cmd opens one event file to monitor the thread across all
cpus. This works because CPU PMUs on all cpus are managed by one
pmu object in perf event driver in the kernel. And the event file is
bounded to a pmu object. So it can transfer with the thread between
cpus.
But now big/little ARM cores may have different numbers of CPU PMU
hardware counters. To fully use them, CPU PMUs on big/little cores
need to be managed by different pmu objects. As a result, event files
can't be transfered between cpus belonging to different pmu objects.
To work with this, this patch changes the stat cmd to open one event
file for each cpu. But after that, we can't tell if hardware counter
multiplexing happens by checking if runtime equals enabled time. So
we avoid showing the runtime / enabled_time percentage. Instead,
we check if events used are more than hardware counters available on
each cpu.
Bug: 243065368
Test: simpleperf_unit_test
Change-Id: I0eb6acbdb2c23bd726be90232a8d97285dac5482
(cherry picked from commit 4ed8e11cc2adf37eb95b922f51a029617c875874)
|
|
Little/Big cores may have different numbers of CPU PMU hardware counters.
So check them separately.
Bug: 243034569
Test: run simpleperf_unit_test
Change-Id: I33527d69bc935b8523482feaf98378c5f6641762
(cherry picked from commit 6b771a2e12740f4bbcef515d772e62b364d87858)
|
|
Because percentage isn't correct after we open an event for each cpu.
Bug: 243065368
Bug: 243479304
Test: run simpleperf_unit_test
Change-Id: I67bc23594e82afce040de7755deb9b274b8ad8b8
(cherry picked from commit abc8ee2e0f792d24562405159ae46be19a1c8acb)
|
|
Bug: 218593350, 203499903
Test: ./bootanalyze.sh
Change-Id: I3f0a08fda5f74e1949a8bb0d2fdffa2e18e6ab11
(cherry picked from commit 0542d40c31cf0abee2af138239821446b276dd45)
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/18521979
Change-Id: If492ccb07d9ddac9a3193ba2795cfec07604d42b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/18521979
Change-Id: I69a3d42d2906a3fae72a490f8b05b39adaecab50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
JoinCallChains, PostUnwindRecords, and MergeMapRecords all flush the
current data to file and start a new data file using MoveRecordFile.
Normally, creating the file fills in the attributes from the event
selection set. However, DoRecording recently added CloseEventFiles
calls which clear the event_fds which are used to populate the attrs.
This change fixes the issue by copying the attrs from the old file.
Test: ran simpleperf on device
$ adb shell
$ cd /data/local/tmp
$ simpleperf record -a --exclude-perf --duration 2 -g \
-e power:sugov_next_freq -e power:sugov_util_update
$ simpleperf report
Before the fix, all samples would be attributed to the first event type.
With this fix, the samples are correctly attributed.
Bug: 231357972
Change-Id: Id077e3c6f6c4460df595fad04c355717985a914e
(cherry picked from commit 62fe04581f910f5a847ad0653908a3e57b6ed8a2)
Merged-In: Id077e3c6f6c4460df595fad04c355717985a914e
|
|
6fcf9c2387 am: f078c382e6 am: cd6b038e79 am: 120c777389
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2068807
Change-Id: Ibb0f786364f965836559f497ddd4986bf7865f18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
6fcf9c2387 am: f078c382e6 am: cd6b038e79
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2068807
Change-Id: Ia19bca0ac57991b3277f1c165400af8c4ee830aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
6fcf9c2387 am: f078c382e6
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2068807
Change-Id: If50412205302ab93b9a55af36abf36d23b84fbbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
6fcf9c2387
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2068807
Change-Id: I965046ac793ffea1d50076742fedfb79dbd8be7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2068807
Change-Id: Idd09481b56fe241087232c807ed15f639eb1866b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
sc-v2-dev-plus-aosp-without-vendor@8433047 am: 74153d19ff -s ours am: f4df34b268 -s ours am: 15a9dd74a4 -s ours am: da8ac1a7f9 -s ours
am skip reason: Merged-In Ib919d40c96d3c26d29d8c1b4af67300c4130ec42 with SHA-1 518046b346 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/17805281
Change-Id: I08ebd602f46a6befc8745f63a81ae74053a12840
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
sc-v2-dev-plus-aosp-without-vendor@8433047 am: 74153d19ff -s ours am: f4df34b268 -s ours am: 15a9dd74a4 -s ours
am skip reason: Merged-In Ib919d40c96d3c26d29d8c1b4af67300c4130ec42 with SHA-1 518046b346 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/17805281
Change-Id: I0e3619671e4e08fee3b7d114bc25a806e9320f02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
sc-v2-dev-plus-aosp-without-vendor@8433047 am: 74153d19ff -s ours am: f4df34b268 -s ours
am skip reason: Merged-In Ib919d40c96d3c26d29d8c1b4af67300c4130ec42 with SHA-1 518046b346 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/17805281
Change-Id: I13699d195201f6ecc0855229f99e2d4e6d3c76c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 120606663
Test: Compiles.
Change-Id: Ib1b5f31208507dd3911a2b4660e58370c83be70b
|
|
sc-v2-dev-plus-aosp-without-vendor@8433047 am: 74153d19ff -s ours
am skip reason: Merged-In Ib919d40c96d3c26d29d8c1b4af67300c4130ec42 with SHA-1 518046b346 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/17805281
Change-Id: I3305dd52e02a7d523b7aa2884e29b4d96fc48ec6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 226662282
Merged-In: Ib919d40c96d3c26d29d8c1b4af67300c4130ec42
Change-Id: I2e27d93c2d7bc1085c855456b5db91e6eff27820
|
|
am: 4e69dcd3fa am: 8c15f1a834 am: 583ce8b45d am: bdc7bdab69 am: b7faa6eed2
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2064888
Change-Id: Ia08124d2a7910a9bbde4b60e9feead61719d89ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|