Home
last modified time | relevance | path

Searched refs:maps (Results 1 – 25 of 74) sorted by relevance

123

/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/
H A Dunwind_local_benchmark.cpp40 unwindstack::Maps* maps; member
110 unwindstack::LocalMaps maps; in BenchmarkUnwindStackLocal() local
111 if (!maps.Parse()) { in BenchmarkUnwindStackLocal()
115 UnwindData data = {.processMemory = processMemory, .maps = &maps, .isFillFrames = false}; in BenchmarkUnwindStackLocal()
128 unwindstack::LocalMaps maps; in BenchmarkUnwindStackLocalCache() local
129 if (!maps.Parse()) { in BenchmarkUnwindStackLocalCache()
133 UnwindData data = {.processMemory = processMemory, .maps = &maps, .isFillFrames = false}; in BenchmarkUnwindStackLocalCache()
147 if (!maps.Parse()) { in BenchmarkUnwindStackLocalFrames()
151 UnwindData data = {.processMemory = processMemory, .maps = &maps, .isFillFrames = true}; in BenchmarkUnwindStackLocalFrames()
165 if (!maps.Parse()) { in BenchmarkUnwindStackLocalFramesCache()
[all …]
H A Dunwind_remote_benchmark.cpp146 unwindstack::RemoteMaps maps(pid); in Run() local
147 if (!maps.Parse()) { in Run()
153 unwindstack::Unwinder unwinder(MAX_FRAMES, &maps, regs.get(), processMemory); in Run()
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsa_store.c119 saStore->maps[index] = handle; in SASTORA_SaveHandleByPid()
129 if (saStore->maps != NULL) { in SASTORA_SaveHandleByPid()
133 PidHandle *oldMap = saStore->maps; in SASTORA_SaveHandleByPid()
134 saStore->maps = newMap; in SASTORA_SaveHandleByPid()
140 if (saStore->maps[i].pid < handle.pid) { in SASTORA_SaveHandleByPid()
143 saStore->maps[i + 1] = saStore->maps[i]; in SASTORA_SaveHandleByPid()
145 saStore->maps[i + 1] = handle; in SASTORA_SaveHandleByPid()
161 *handle = saStore->maps[mid]; in SASTORA_FindHandleByPid()
183 if (saStore->maps[mid].pid == callingPid && saStore->maps[mid].uid == callingUid) { in SASTORA_FindHandleByUidPid()
184 *handle = saStore->maps[mid]; in SASTORA_FindHandleByUidPid()
[all …]
H A Dsa_store.h53 PidHandle *maps; member
75 saStore->maps = NULL; in SASTORA_Init()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.40/
H A Dchangelogs-dfx.md33 | hidumper | hidumper -p [pid] | 可以导出任意进程的maps信息以及/proc/pid/mountinfo等信息 | 只支持导出debug应用的基础信息,所有进程…
36 | hiperf | hiperf dump | 可以输出采集进程的maps信息以及其他信息 | 不输出maps信息,其他信息不变 |
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_async_thread.cpp89 const std::shared_ptr<DfxMaps>& maps = unwinder_->GetMaps(); in GetSubmitterStack() local
90 if (maps == nullptr) { in GetSubmitterStack()
94 if (!maps->FindMapsByName("[anon:async_stack_table]", mapVec)) { in GetSubmitterStack()
137 std::shared_ptr<DfxMaps> maps = unwinder_->GetMaps(); in UnwindThreadFallback() local
138 if (maps == nullptr) { in UnwindThreadFallback()
144 auto createFrame = [maps, unwinder] (size_t index, uintptr_t pc, uintptr_t sp = 0) { in UnwindThreadFallback()
150 if (maps->FindMapByAddr(pc, map)) { in UnwindThreadFallback()
H A Ddfx_fault_stack.cpp211 void FaultStack::CollectRegistersBlock(std::shared_ptr<DfxRegs> regs, std::shared_ptr<DfxMaps> maps) in CollectRegistersBlock() argument
213 if (regs == nullptr || maps == nullptr) { in CollectRegistersBlock()
223 if (!maps->FindMapByAddr(data, map)) { in CollectRegistersBlock()
277 bool FaultStack::ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames) in ParseUnwindStack() argument
279 if (maps == nullptr) { in ParseUnwindStack()
287 if (!maps->FindMapByAddr(block.content[i], map) || in ParseUnwindStack()
H A Dprinter.cpp119 std::shared_ptr<DfxMaps> maps = unwinder->GetMaps(); in PrintReason() local
131 if (maps != nullptr && maps->FindMapsByName(elfName, map)) { in PrintReason()
148 void Printer::PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps) in PrintProcessMapsByConfig() argument
151 if (maps == nullptr) { in PrintProcessMapsByConfig()
154 auto mapsVec = maps->GetMaps(); in PrintProcessMapsByConfig()
H A Ddfx_fault_stack.h45 void CollectRegistersBlock(std::shared_ptr<DfxRegs> regs, std::shared_ptr<DfxMaps> maps);
46 bool ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames);
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/
H A Dmaps_benchmark.cpp66 std::vector<std::shared_ptr<DfxMap>> maps {}; in BenchmarkMapsCreateMapIndex() local
69 if (DfxMaps::Create(0, maps, mapIndex)) { in BenchmarkMapsCreateMapIndex()
70 LOGU("%s:: maps.size: %zu", __func__, maps.size()); in BenchmarkMapsCreateMapIndex()
H A Delf_benchmark.cpp29 auto maps = dfxMaps->GetMaps(); in InitializeBuildId() local
30 if (maps.size() == 0) { in InitializeBuildId()
37 for (auto& map : maps) { in InitializeBuildId()
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dunwinder_test.cpp299 auto maps = DfxMaps::Create(child); variable
303 context.maps = maps;
338 auto maps = DfxMaps::Create(getpid()); variable
341 context.maps = maps;
422 auto maps = DfxMaps::Create(child); variable
427 context.maps = maps;
433 ASSERT_TRUE(maps->FindMapByAddr(pc, map));
453 auto maps = DfxMaps::Create(getpid()); variable
465 context.maps = maps;
587 context.maps = unwinder->GetMaps();
[all …]
H A Dinstr_statistic_test.cpp68 auto maps = DfxMaps::Create(pid); variable
72 context.maps = maps;
H A Dunwinder_pac_test.cpp61 auto maps = DfxMaps::Create(pid); variable
66 context.maps = maps;
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/player/standard/
H A Dmedia_utils.cpp111 const static std::array<StateString, 9> maps = { // array size in StringnessPlayerState() local
123 auto ite = std::find_if(maps.begin(), maps.end(), [&] (const StateString& item) -> bool { in StringnessPlayerState()
126 if (ite == maps.end()) { in StringnessPlayerState()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_maps.cpp80 bool DfxMaps::Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>&… in Create() argument
91 maps = dfxMaps->GetMaps(); in Create()
264 bool DfxMaps::FindMapsByName(std::string name, std::vector<std::shared_ptr<DfxMap>>& maps) const in FindMapsByName()
271 maps.emplace_back(iter); in FindMapsByName()
274 return (maps.size() > 0); in FindMapsByName()
H A Dunwinder.cpp195 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame);
430 bool Unwinder::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame) in GetFrameByPc() argument
432 return impl_->GetFrameByPc(pc, maps, frame); in GetFrameByPc()
574 context.maps = maps_; in UnwindLocalWithTid()
629 context.maps = maps_; in UnwindLocal()
665 context.maps = maps_; in UnwindRemote()
1301 bool Unwinder::Impl::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame &frame) in GetFrameByPc() argument
1305 if ((maps == nullptr) || !maps->FindMapByAddr(pc, map) || map == nullptr) { in GetFrameByPc()
1379 bool Unwinder::GetSymbolByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, std::string& funcName, ui… in GetSymbolByPc() argument
1381 if (maps == nullptr) { in GetSymbolByPc()
[all …]
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dstart-navigation-apps.md117 "scheme": "maps", // 这里仅示意,应用需确保这里声明的的uri能被外部正常拉起
123 "scheme": "maps", // 这里仅示意,应用需确保这里声明的的uri能被外部正常拉起
129 "scheme": "maps", // 这里仅示意,应用需确保这里声明的的uri能被外部正常拉起
239 if (this.uri === 'maps://navigation') {
248 } else if (this.uri === 'maps://routePlan') {
263 } else if (this.uri === 'maps://search') {
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.17/
H A Dchangelogs-arkui.md129 …the application side require the **Image** component to support asynchronous loading of pixel maps.
137 …set to **false** or **true**, the **Image** component always loaded pixel maps synchronously in th…
139maps synchronously or asynchronously according to **syncLoad**. If this attribute is not set, the …
159 If your application requires the **Image** component to load pixel maps synchronously, **syncLoad**…
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/
H A Dsample_stack_printer.h47 …SampleStackPrinter(std::shared_ptr<Unwinder> unwinder, std::shared_ptr<DfxMaps> maps) : unwinder_(… in SampleStackPrinter() argument
48 maps_(maps) in SampleStackPrinter()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_maps.h34 …static bool Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>& …
48 bool FindMapsByName(std::string name, std::vector<std::shared_ptr<DfxMap>>& maps) const;
H A Dunwinder.h85 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame);
93 static bool GetSymbolByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps,
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dfault_stack_test.cpp104 auto maps = DfxMaps::Create(childPid); variable
108 stack->CollectRegistersBlock(reg, maps);
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dmedia_utils.cpp246 const static std::array<StateString, 9> maps = { // array size in StringnessPlayerState() local
258 auto ite = std::find_if(maps.begin(), maps.end(), [&] (const StateString& item) -> bool { in StringnessPlayerState()
261 if (ite == maps.end()) { in StringnessPlayerState()
/ohos5.0/docs/en/application-dev/application-models/
H A Dstart-navigation-apps.md120 …"scheme": "maps", // It is for reference only. Ensure that the declared URI can be started by exte…
126 …"scheme": "maps", // It is for reference only. Ensure that the declared URI can be started by exte…
132 …"scheme": "maps", // It is for reference only. Ensure that the declared URI can be started by exte…
242 if (this.uri === 'maps://navigation') {
251 } else if (this.uri === 'maps://routePlan') {
266 } else if (this.uri === 'maps://search') {

123