MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_trace_self

Function db_trace_self

freebsd/arm64/arm64/db_trace.c:119–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void
120db_trace_self(void)
121{
122 struct unwind_state frame;
123 uintptr_t sp;
124
125 __asm __volatile("mov %0, sp" : "=&r" (sp));
126
127 frame.sp = sp;
128 frame.fp = (uintptr_t)__builtin_frame_address(0);
129 frame.pc = (uintptr_t)db_trace_self;
130 db_stack_trace_cmd(curthread, &frame);
131}

Callers 1

db_trace_threadFunction · 0.70

Calls 1

db_stack_trace_cmdFunction · 0.70

Tested by

no test coverage detected