summaryrefslogtreecommitdiff
path: root/components/lwp/lwp.h
diff options
context:
space:
mode:
authorShell <[email protected]>2023-10-21 20:14:45 +0800
committerGitHub <[email protected]>2023-10-21 20:14:45 +0800
commit70a8d1d4656bc678ddada5e56263c9cb4423a623 (patch)
treeb81b97a4f4cf33df2b1a02742e80de218da51333 /components/lwp/lwp.h
parent90c7089d47755a3edaf9008282225c5019fa188c (diff)
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'components/lwp/lwp.h')
-rw-r--r--components/lwp/lwp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/lwp/lwp.h b/components/lwp/lwp.h
index 2fcd880bc4..56298a0385 100644
--- a/components/lwp/lwp.h
+++ b/components/lwp/lwp.h
@@ -321,4 +321,7 @@ void dbg_attach_req(void *pc);
int dbg_check_suspend(void);
void rt_hw_set_process_id(int pid);
+/* backtrace service */
+rt_err_t lwp_backtrace_frame(rt_thread_t uthread, struct rt_hw_backtrace_frame *frame);
+
#endif