Home
last modified time | relevance | path

Searched refs:callChain (Results 1 - 6 of 6) sorted by relevance

/kernel/liteos_a/kernel/extended/perf/
H A Dlos_perf.c217 STATIC UINT32 OsPerfBackTrace(PerfBackTrace *callChain, UINT32 maxDepth, PerfRegs *regs) in OsPerfBackTrace() argument
219 UINT32 count = BackTraceGet(regs->fp, (IpInfo *)(callChain->ip), maxDepth); in OsPerfBackTrace()
224 STATIC INLINE UINT32 OsPerfSaveBackTrace(CHAR *buf, PerfBackTrace *callChain, UINT32 count) in OsPerfSaveBackTrace() argument
230 size += OsPerfSaveIpInfo(buf + size, &(callChain->ip[i])); in OsPerfSaveBackTrace()
240 PerfBackTrace callChain = {0}; in OsPerfCollectData() local
280 depth = OsPerfBackTrace(&callChain, PERF_MAX_CALLCHAIN_DEPTH, regs); in OsPerfCollectData()
281 size += OsPerfSaveBackTrace(p + size, &callChain, depth); in OsPerfCollectData()
H A Dlos_perf_pri.h76 PerfBackTrace callChain; /* number of callChain ips */ member
/kernel/liteos_a/arch/arm/arm/src/include/
H A Dlos_exc_pri.h63 extern UINT32 BackTraceGet(UINTPTR regFP, IpInfo *callChain, UINT32 maxDepth);
/kernel/liteos_a/arch/arm/arm/src/
H A Dlos_exc.c753 UINT32 BackTraceGet(UINTPTR regFP, IpInfo *callChain, UINT32 maxDepth) in BackTraceGet() argument
763 if (callChain == NULL) { in BackTraceGet()
778 if (callChain == NULL) { in BackTraceGet()
788 if (callChain == NULL) { in BackTraceGet()
797 if (callChain == NULL) { in BackTraceGet()
806 if (callChain == NULL) { in BackTraceGet()
818 (VOID)memcpy_s(&callChain[count], sizeof(IpInfo), &info, sizeof(IpInfo)); in BackTraceGet()
/kernel/liteos_m/components/backtrace/
H A Dlos_backtrace.c416 UINT32 HalBackTraceGet(UINTPTR sp, UINT32 retAddr, UINTPTR *callChain, UINT32 maxDepth, UINT32 jumpCount) in HalBackTraceGet() argument
433 if (callChain == NULL) { in HalBackTraceGet()
442 callChain[count++] = backRa; in HalBackTraceGet()
H A Dlos_backtrace.h167 UINT32 HalBackTraceGet(UINTPTR sp, UINT32 retAddr, UINTPTR *callChain, UINT32 maxDepth, UINT32 jumpCount);

Completed in 6 milliseconds