MCPcopy Create free account
hub / github.com/HelenOS/helenos / stack_trace_istate

Function stack_trace_istate

kernel/generic/src/debug/stacktrace.c:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void stack_trace_istate(istate_t *istate)
92{
93 stack_trace_context_t ctx = {
94 .fp = istate_get_fp(istate),
95 .pc = istate_get_pc(istate),
96 .istate = istate
97 };
98
99 if (istate_from_uspace(istate))
100 stack_trace_ctx(&ust_ops, &ctx);
101 else
102 stack_trace_ctx(&kst_ops, &ctx);
103}
104
105static bool
106kernel_symbol_resolve(uintptr_t addr, const char **sp, uintptr_t *op)

Callers 2

before_thread_runsFunction · 0.85
fault_from_uspace_coreFunction · 0.85

Calls 4

stack_trace_ctxFunction · 0.85
istate_get_fpFunction · 0.50
istate_get_pcFunction · 0.50
istate_from_uspaceFunction · 0.50

Tested by

no test coverage detected