diff options
| author | 2023-07-11 17:11:48 +0000 | |
|---|---|---|
| committer | 2023-07-18 10:19:19 +0000 | |
| commit | d955ee5d83179f57737b6ee9a988e3872697c8e9 (patch) | |
| tree | dc7a6830a2feee495dd80d64bf8d59600f11859b /disassembler/disassembler.h | |
| parent | 49abe892f286a58ad8049eae2593b017be9ca87e (diff) | |
Don't use timestamp counters on ARM32
Not all arm32 have access to timestamp counters. Even on ARMV8
processors where timestamp counters are available, they are not
accessible from user space always when running in 32-bit mode. There is
no easy way to check if the timestamp counters are supported. So for now
just fallback to clock_gettime.
Bug: 289178149
Test: art/test.py --trace --32
(cherry picked from https://android-review.googlesource.com/q/commit:0efc236365ce558fbc9c979083629c7b8cbb8ddc)
Merged-In: I8406f3a99a178e6806e2dc762662a7f5f0e538ea
Change-Id: I8406f3a99a178e6806e2dc762662a7f5f0e538ea
Cherrypick a fix to disable accessing generic timers for 32-bit.
Diffstat (limited to 'disassembler/disassembler.h')
0 files changed, 0 insertions, 0 deletions