Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 113) sorted by relevance

12345

/system/extras/simpleperf/
Dperf_regs.cpp32 ArchType GetArchType(const std::string& arch) { in GetArchType() argument
33 if (arch == "x86" || arch == "i686") { in GetArchType()
35 } else if (arch == "x86_64") { in GetArchType()
37 } else if (arch == "riscv64") { in GetArchType()
39 } else if (arch == "aarch64") { in GetArchType()
41 } else if (android::base::StartsWith(arch, "arm")) { in GetArchType()
45 if (arch[3] == 'v') { in GetArchType()
46 int version = atoi(&arch[4]); in GetArchType()
53 LOG(ERROR) << "unsupported arch: " << arch; in GetArchType()
76 std::string GetArchString(ArchType arch) { in GetArchString() argument
[all …]
Dperf_regs.h75 ArchType GetArchType(const std::string& arch);
77 std::string GetArchString(ArchType arch);
78 uint64_t GetSupportedRegMask(ArchType arch);
79 std::string GetRegName(size_t regno, ArchType arch);
83 explicit ScopedCurrentArch(ArchType arch) : saved_arch(current_arch) { in ScopedCurrentArch() argument
84 current_arch = arch; in ScopedCurrentArch()
97 ArchType arch; member
Dperf_regs_test.cpp24 TEST(RegSet, arch) { in TEST() argument
34 ASSERT_EQ(reg32.arch, arch_pair[0]) << i; in TEST()
36 ASSERT_EQ(reg64.arch, arch_pair[1]) << i; in TEST()
Dtest_util.cpp132 auto arch = GetTargetArch(); in HasHardwareCounter() local
136 if (arch == ARCH_X86_64 || arch == ARCH_X86_32 || !in_native_abi || IsInEmulator()) { in HasHardwareCounter()
144 } else if (arch == ARCH_ARM) { in HasHardwareCounter()
Devent_table_generator.py129 def __init__(self, arch: str):
130 self.arch = arch
140 self.events.append(RawEvent(number, name, desc, self.arch))
159 limited_arch = self.arch + ':' + cpu['name']
/system/unwinding/libunwindstack/benchmarks/
DOfflineUnwindBenchmarks.cpp197 state, {.offline_files_dir = "straddle_arm64/", .arch = ARCH_ARM64, .create_maps = false}); in BENCHMARK_DEFINE_F()
205 SingleUnwindBenchmark(state, {.offline_files_dir = "straddle_arm64/", .arch = ARCH_ARM64}); in BENCHMARK_DEFINE_F()
213 .arch = ARCH_ARM, in BENCHMARK_DEFINE_F()
226 {.offline_files_dir = "bluetooth_arm64/pc_1/", .arch = ARCH_ARM64, .create_maps = false}, in BENCHMARK_DEFINE_F()
228 .arch = ARCH_ARM, in BENCHMARK_DEFINE_F()
231 {.offline_files_dir = "photos_reset_arm64/", .arch = ARCH_ARM64, .create_maps = false}, in BENCHMARK_DEFINE_F()
233 .arch = ARCH_ARM64, in BENCHMARK_DEFINE_F()
235 {.offline_files_dir = "yt_music_arm64/", .arch = ARCH_ARM64, .create_maps = false}, in BENCHMARK_DEFINE_F()
237 .arch = ARCH_ARM64, in BENCHMARK_DEFINE_F()
249 .arch = ARCH_ARM64, in BENCHMARK_DEFINE_F()
[all …]
/system/libvintf/include/vintf/
DTransportArch.h31 Arch arch = Arch::ARCH_EMPTY; member
36 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch()
39 return transport == other.transport && arch == other.arch;
44 return arch < other.arch;
DArch.h44 inline bool has32(Arch arch) { in has32() argument
45 return arch == Arch::ARCH_32 || arch == Arch::ARCH_32_64; in has32()
48 inline bool has64(Arch arch) { in has64() argument
49 return arch == Arch::ARCH_64 || arch == Arch::ARCH_32_64; in has64()
/system/libvintf/
DTransportArch.cpp26 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty()
37 if (arch == Arch::ARCH_EMPTY && !ip.has_value() && !port.has_value()) { in isValid()
47 if (arch != Arch::ARCH_EMPTY && !ip.has_value() && !port.has_value()) { in isValid()
55 if (arch == Arch::ARCH_EMPTY && ip.has_value() && port.has_value()) { in isValid()
/system/unwinding/libunwindstack/include/unwindstack/
DUnwinder.h85 static std::string FormatFrame(ArchEnum arch, const FrameData& frame,
88 void SetArch(ArchEnum arch) { arch_ = arch; } in SetArch() argument
118 static FrameData BuildFrameFromPcOnly(uint64_t pc, ArchEnum arch, Maps* maps, JitDebug* jit_debug,
124 Unwinder(size_t max_frames, ArchEnum arch, Maps* maps = nullptr)
125 : max_frames_(max_frames), maps_(maps), arch_(arch) {} in max_frames_()
126 Unwinder(size_t max_frames, ArchEnum arch, Maps* maps, std::shared_ptr<Memory>& process_memory) in Unwinder() argument
127 : max_frames_(max_frames), maps_(maps), process_memory_(process_memory), arch_(arch) {} in Unwinder()
159 UnwinderFromPid(size_t max_frames, pid_t pid, ArchEnum arch, Maps* maps = nullptr)
160 : Unwinder(max_frames, arch, maps), pid_(pid) {} in Unwinder() argument
161 UnwinderFromPid(size_t max_frames, pid_t pid, ArchEnum arch, Maps* maps, in UnwinderFromPid() argument
[all …]
DArch.h32 static inline bool ArchIs32Bit(ArchEnum arch) { in ArchIs32Bit() argument
33 switch (arch) { in ArchIs32Bit()
DGlobal.h42 void SetArch(ArchEnum arch);
44 ArchEnum arch() { return arch_; } in arch() function
/system/apex/tests/testdata/sharedlibs/build/
Dbuild_artifacts.sh76 for arch in "${archs[@]}"; do
105 … echo "Building combination arch: ${arch}, apexversion: ${apexversion}, libversion: ${libversion}"
112 TARGET_PRODUCT=aosp_${arch} \
121 system/apex/tests/testdata/sharedlibs/prebuilts/${arch}/${outfile}
122 … generated_artifacts+=(system/apex/tests/testdata/sharedlibs/prebuilts/${arch}/${outfile})
172 arch: {
175 for arch in "${archs[@]}"; do
177 ${arch}: {
178 src: "${arch}/${outfile}",
/system/extras/simpleperf/scripts/
Dsimpleperf_utils.py72 def get_target_binary_path(arch: str, binary_name: str) -> str:
73 if arch == 'aarch64':
74 arch = 'arm64'
75 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
195 def _get_binutils_path_in_ndk(cls, toolname: str, arch: Optional[str], platform: str
197 if not arch:
198 arch = 'arm64'
199 if arch == 'arm64':
201 elif arch == 'arm':
203 elif arch == 'x86_64':
[all …]
/system/unwinding/libunwindstack/
DGlobal.cpp37 void Global::SetArch(ArchEnum arch) { in SetArch() argument
39 arch_ = arch; in SetArch()
84 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable()
DGlobalDebugImpl.h91 GlobalDebugImpl(ArchEnum arch, std::shared_ptr<Memory>& memory, in GlobalDebugImpl() argument
94 SetArch(arch); in GlobalDebugImpl()
361 if (arch() == ARCH_ARM64) { in StripAddressTag()
389 ArchEnum arch, std::shared_ptr<Memory>& memory, std::vector<std::string> search_libs, in CreateGlobalDebugImpl() argument
391 CHECK(arch != ARCH_UNKNOWN); in CreateGlobalDebugImpl()
403 switch (arch) { in CreateGlobalDebugImpl()
410 return std::make_unique<Impl>(arch, jit_memory, search_libs, global_variable_name); in CreateGlobalDebugImpl()
418 return std::make_unique<Impl>(arch, jit_memory, search_libs, global_variable_name); in CreateGlobalDebugImpl()
428 return std::make_unique<Impl>(arch, jit_memory, search_libs, global_variable_name); in CreateGlobalDebugImpl()
DJitDebug.cpp38 std::unique_ptr<JitDebug> CreateJitDebug(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateJitDebug() argument
40 return CreateGlobalDebugImpl<Elf>(arch, memory, search_libs, "__jit_debug_descriptor"); in CreateJitDebug()
DRegs.cpp123 Regs* Regs::CreateFromUcontext(ArchEnum arch, void* ucontext) { in CreateFromUcontext() argument
124 switch (arch) { in CreateFromUcontext()
175 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment() argument
176 switch (arch) { in GetPcAdjustment()
DDexFiles.cpp36 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateDexFiles() argument
38 return CreateGlobalDebugImpl<DexFile>(arch, memory, search_libs, "__dex_debug_descriptor"); in CreateDexFiles()
/system/apex/shim/
DAndroid.bp25 arch: {
48 arch: {
71 arch: {
94 arch: {
117 arch: {
140 arch: {
163 arch: {
186 arch: {
209 arch: {
232 arch: {
[all …]
/system/unwinding/libunwindstack/tools/
Dunwind_reg_info.cpp75 uint8_t class_type, ArchEnum arch) { in PrintRegInformation() argument
83 if (!section->GetCfaLocationInfo(pc, fde, &regs, arch)) { in PrintRegInformation()
215 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
223 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
236 elf.arch()); in GetInfo()
246 elf.arch()); in GetInfo()
/system/extras/perf2cfg/perf2cfg/
Danalyze.py156 arch = self.report.GetArch()
158 self.target_arch = arch
159 elif self.target_arch != arch:
162 filename, arch, self.target_arch)
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderFuzz.cpp75 ArchEnum arch = static_cast<ArchEnum>(arch_val); in LLVMFuzzerTestOneInput() local
76 std::unique_ptr<Regs> regs = GetRegisters(arch); in LLVMFuzzerTestOneInput()
84 std::unique_ptr<JitDebug> jit_debug_ptr = CreateJitDebug(arch, memory); in LLVMFuzzerTestOneInput()
/system/tools/aidl/scripts/
Dexample_dep_build_failure_output.txt22 -> android.hardware.audio.common-V1-java{os:android,arch:common,apex:}
24 -> android.media.audio.common.types-V1-java{os:android,arch:common,apex:}
29 -> android.media.audio.common.types-V2-java{os:android,arch:common,apex:}
35 -> android.hardware.audio.common-V1-java{os:android,arch:common,apex:}
37 -> android.media.audio.common.types-V1-java{os:android,arch:common,apex:}
42 -> android.media.audio.common.types-V2-java{os:android,arch:common,apex:}
48 -> android.hardware.audio.common-V1-java{os:android,arch:common,apex:}
50 -> android.media.audio.common.types-V1-java{os:android,arch:common,apex:}
55 -> android.media.audio.common.types-V2-java{os:android,arch:common,apex:}
61 -> android.hardware.audio.common-V1-java{os:android,arch:common,apex:}
[all …]
/system/unwinding/libunwindstack/tests/
DUnwindOfflineTest.cpp113 if (!offline_utils_.Init({.offline_files_dir = "straddle_arm/", .arch = ARCH_ARM}, &error_msg)) in TEST_F()
157 if (!offline_utils_.Init({.offline_files_dir = "gnu_debugdata_arm/", .arch = ARCH_ARM}, in TEST_F()
181 if (!offline_utils_.Init({.offline_files_dir = "straddle_arm64/", .arch = ARCH_ARM64}, in TEST_F()
214 .arch = ARCH_X86, in TEST_F()
375 .arch = ARCH_ARM, in TEST_F()
580 .arch = ARCH_ARM, in TEST_F()
599 if (!offline_utils_.Init({.offline_files_dir = "bad_eh_frame_hdr_arm64/", .arch = ARCH_ARM64}, in TEST_F()
631 if (!offline_utils_.Init({.offline_files_dir = "debug_frame_first_x86/", .arch = ARCH_X86}, in TEST_F()
662 if (!offline_utils_.Init({.offline_files_dir = "eh_frame_hdr_begin_x86_64/", .arch = ARCH_X86_64}, in TEST_F()
693 .arch = ARCH_ARM, in TEST_F()
[all …]

12345