diff options
| author | Meco Man <[email protected]> | 2023-07-08 19:09:51 -0400 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-07-09 00:19:29 -0400 |
| commit | 237bbfd9688b4ea0329047a85165323b99961345 (patch) | |
| tree | 5e66a22c24e74c6df3482ad39dc2aa7a31008180 /components | |
| parent | 3660db39a1bf7310730490ea51b67e404a85c733 (diff) | |
[debug] remove RT_DEBUG_xxx
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/posix/libdl/arch/arm.c | 11 | ||||
| -rw-r--r-- | components/libc/posix/libdl/arch/riscv.c | 8 | ||||
| -rw-r--r-- | components/libc/posix/libdl/arch/x86.c | 11 |
3 files changed, 10 insertions, 20 deletions
diff --git a/components/libc/posix/libdl/arch/arm.c b/components/libc/posix/libdl/arch/arm.c index a1ab506a55..2996f2e3c7 100644 --- a/components/libc/posix/libdl/arch/arm.c +++ b/components/libc/posix/libdl/arch/arm.c @@ -13,12 +13,8 @@ #ifdef __arm__ -#define DBG_TAG "kernel.module" -#ifdef RT_DEBUG_MODULE -#define DBG_LVL DBG_LOG -#else -#define DBG_LVL DBG_WARNING -#endif /* defined (RT_DEBUG_MODULE) */ +#define DBG_TAG "posix.libdl.arch" +#define DBG_LVL DBG_INFO #include <rtdbg.h> int dlmodule_relocate(struct rt_dlmodule *module, Elf32_Rel *rel, Elf32_Addr sym_val) @@ -126,4 +122,5 @@ int dlmodule_relocate(struct rt_dlmodule *module, Elf32_Rel *rel, Elf32_Addr sym return 0; } -#endif + +#endif /* __arm__ */ diff --git a/components/libc/posix/libdl/arch/riscv.c b/components/libc/posix/libdl/arch/riscv.c index cf0eb193af..8dd09789c5 100644 --- a/components/libc/posix/libdl/arch/riscv.c +++ b/components/libc/posix/libdl/arch/riscv.c @@ -26,12 +26,8 @@ #define R_RISCV_TLS_TPREL32 10 #define R_RISCV_TLS_TPREL64 11 -#define DBG_TAG "kernel.module" -#ifdef RT_DEBUG_MODULE -#define DBG_LVL DBG_LOG -#else -#define DBG_LVL DBG_WARNING -#endif /* defined (RT_DEBUG_MODULE) */ +#define DBG_TAG "posix.libdl.arch" +#define DBG_LVL DBG_INFO #include <rtdbg.h> int dlmodule_relocate(struct rt_dlmodule *module, Elf_Rel *rel, Elf_Addr sym_val) diff --git a/components/libc/posix/libdl/arch/x86.c b/components/libc/posix/libdl/arch/x86.c index b309ab8c13..1987d45508 100644 --- a/components/libc/posix/libdl/arch/x86.c +++ b/components/libc/posix/libdl/arch/x86.c @@ -13,12 +13,8 @@ #ifdef __i386__ -#define DBG_TAG "kernel.module" -#ifdef RT_DEBUG_MODULE -#define DBG_LVL DBG_LOG -#else -#define DBG_LVL DBG_WARNING -#endif /* defined (RT_DEBUG_MODULE) */ +#define DBG_TAG "posix.libdl.arch" +#define DBG_LVL DBG_INFO #include <rtdbg.h> #define R_X86_64_GLOB_DAT 6 /* Create GOT entry */ @@ -55,4 +51,5 @@ int dlmodule_relocate(struct rt_dlmodule *module, Elf32_Rel *rel, Elf32_Addr sym return 0; } -#endif + +#endif /* __i386__ */ |
