summaryrefslogtreecommitdiff
path: root/libcpu/aarch64/common/backtrace.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 /libcpu/aarch64/common/backtrace.h
parent90c7089d47755a3edaf9008282225c5019fa188c (diff)
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/aarch64/common/backtrace.h')
-rw-r--r--libcpu/aarch64/common/backtrace.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/libcpu/aarch64/common/backtrace.h b/libcpu/aarch64/common/backtrace.h
deleted file mode 100644
index e5e281978c..0000000000
--- a/libcpu/aarch64/common/backtrace.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2022-06-02 Jesven the first version
- * 2023-06-24 WangXiaoyao Support backtrace for non-active thread
- */
-
-#ifndef __BACKTRACE_H__
-#define __BACKTRACE_H__
-
-#include <rtthread.h>
-
-struct bt_frame
-{
- unsigned long fp;
- unsigned long pc;
-};
-
-void backtrace(unsigned long pc, unsigned long lr, unsigned long fp);
-int rt_backtrace(void);
-
-int rt_backtrace_user_thread(rt_thread_t thread);
-int rt_backtrace_thread(rt_thread_t thread);
-
-#endif /*__BACKTRACE_H__*/