You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
439 B
C
15 lines
439 B
C
/* Copyright (C) 2021,2022 fef <owo@fef.moe>. All rights reserved. */
|
|
|
|
#pragma once
|
|
|
|
/** @brief Print a full stack trace to the kernel log, starting from the caller. */
|
|
__asmlink
|
|
void ktrace_print(void);
|
|
|
|
/** @brief Print a full stack trace to the kernel log, starting from `frame`. */
|
|
__asmlink
|
|
void ktrace_print_from(void *frame);
|
|
|
|
/** @brief Get the address the current function call will return to. */
|
|
void *ktrace_return_addr(void);
|