Searched refs:stackInfo (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
D | sample_writer.cpp | 28 ASSERT(sample.stackInfo.managedStackSize <= SampleInfo::StackInfo::MAX_STACK_DEPTH); in WriteSample() 32 static_assert(sizeof(sample.stackInfo.managedStackSize) == sizeof(uintptr_t)); in WriteSample() 38 writeStreamPtr_->write(reinterpret_cast<const char *>(&sample.stackInfo.managedStackSize), in WriteSample() 39 sizeof(sample.stackInfo.managedStackSize)); in WriteSample() 40 writeStreamPtr_->write(reinterpret_cast<const char *>(sample.stackInfo.managedStack.data()), in WriteSample() 41 … sample.stackInfo.managedStackSize * sizeof(SampleInfo::ManagedStackFrameId)); in WriteSample()
|
D | sample_info.h | 52 StackInfo stackInfo {}; 148 if (lhs.stackInfo != rhs.stackInfo) { 168 auto stackInfo = s.stackInfo; 169 …ASSERT(stackInfo.managedStackSize <= panda::tooling::sampler::SampleInfo::StackInfo::MAX_STACK_DEP… 171 for (size_t i = 0; i < stackInfo.managedStackSize; ++i) { 172 summ += stackInfo.managedStack[i].pandaFilePtr ^ stackInfo.managedStack[i].fileId; 176 (summ ^ stackInfo.managedStackSize) +
|
D | sampling_profiler.cpp | 351 …sample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE… in SigProfSamplingProfilerHandler() 352 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in SigProfSamplingProfilerHandler() 358 …sample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE… in SigProfSamplingProfilerHandler() 359 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in SigProfSamplingProfilerHandler() 379 …sample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE… in SigProfSamplingProfilerHandler() 380 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in SigProfSamplingProfilerHandler() 391 …sample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE… in SigProfSamplingProfilerHandler() 392 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in SigProfSamplingProfilerHandler() 420 sample.stackInfo.managedStack[stackCounter].pandaFilePtr = pfId; in SigProfSamplingProfilerHandler() 421 sample.stackInfo.managedStack[stackCounter].fileId = method->GetFileId().GetOffset(); in SigProfSamplingProfilerHandler() [all …]
|
D | sample_reader-inl.h | 115 …sampleOut->stackInfo.managedStackSize = ReadUintptrTBitMisaligned(¤tSamplePtr[SAMPLE_STACK_S… in GetNextSample() 117 ASSERT(sampleOut->stackInfo.managedStackSize <= SampleInfo::StackInfo::MAX_STACK_DEPTH); in GetNextSample() 118 auto copySize = sampleOut->stackInfo.managedStackSize * sizeof(SampleInfo::ManagedStackFrameId); in GetNextSample() 120 …memcpy_s(sampleOut->stackInfo.managedStack.data(), copySize, currentSamplePtr + SAMPLE_STACK_OFFSE… in GetNextSample()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | quick_fix_manager.cpp | 242 CString stackInfo = ConvertToString(*stack); in IsQuickFixCausedException() local 243 CUnorderedSet<CString> methodNames = ParseStackInfo(stackInfo); in IsQuickFixCausedException() 259 CUnorderedSet<CString> QuickFixManager::ParseStackInfo(const CString &stackInfo) in ParseStackInfo() argument 267 while (lineIndex != stackInfo.length() - 1) { in ParseStackInfo() 268 firstIndex = stackInfo.find(" at ", lineIndex + 1); in ParseStackInfo() 269 nextIndex = stackInfo.find("(", lineIndex + 1); in ParseStackInfo() 270 CString methodName = stackInfo.substr(firstIndex + methodNameOffsetToFirstIndex, in ParseStackInfo() 273 lineIndex = stackInfo.find("\n", lineIndex + 1); in ParseStackInfo()
|
D | quick_fix_manager.h | 50 CUnorderedSet<CString> ParseStackInfo(const CString &stackInfo);
|
/arkcompiler/runtime_core/static_core/tools/sampler/ |
D | trace_dumper.cpp | 24 for (size_t i = sample.stackInfo.managedStackSize; i-- > 0;) { in DumpTraces() 25 uintptr_t pfId = sample.stackInfo.managedStack[i].pandaFilePtr; in DumpTraces() 26 uint64_t fileId = sample.stackInfo.managedStack[i].fileId; in DumpTraces()
|
D | aspt_converter.cpp | 114 ASSERT(sample.stackInfo.managedStackSize <= SampleInfo::StackInfo::MAX_STACK_DEPTH); in DumpResolvedTracesAsCSV()
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | cpu_profiler.cpp | 273 const CMap<struct MethodKey, struct FrameInfo> &stackInfo = generator_->GetStackInfo(); in GetStack() local 296 if (stackInfo.count(methodKey) == 0) { in GetStack() 334 const CMap<struct MethodKey, struct FrameInfo> &stackInfo = generator_->GetStackInfo(); in GetStackCallNapi() local 367 if (stackInfo.count(methodKey) == 0) { in GetStackCallNapi()
|
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/sampler/ |
D | sampling_profiler_test.cpp | 77 ps->stackInfo.managedStack[i] = {i, pfId_}; in FullfillFakeSample() 80 ps->stackInfo.managedStackSize = SampleInfo::StackInfo::MAX_STACK_DEPTH; in FullfillFakeSample() 725 if (sample.stackInfo.managedStackSize == 2U) { in TEST_F() 729 ASSERT_NE(sample.stackInfo.managedStackSize, 0); in TEST_F()
|