diff options
| author | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
| commit | fa4d4ab7cf774ccb701d01a6fd1371ce8d9474e9 (patch) | |
| tree | 89cb48115a065516808cc8b0d6402b9924e06c4c /components/lwp | |
| parent | 35bb75b96bb793e12b267cf987a2bf47f34d6510 (diff) | |
Update all of debug log definition to DBG_TAG and DBG_LVL.
Diffstat (limited to 'components/lwp')
| -rw-r--r-- | components/lwp/lwp.c | 4 | ||||
| -rw-r--r-- | components/lwp/lwp_mem.c | 4 | ||||
| -rw-r--r-- | components/lwp/lwp_syscall.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/components/lwp/lwp.c b/components/lwp/lwp.c index e1ba26f21c..7881fcc68f 100644 --- a/components/lwp/lwp.c +++ b/components/lwp/lwp.c @@ -19,8 +19,8 @@ #include "lwp.h" -#define DBG_SECTION_NAME "LWP" -#define DBG_LEVEL DBG_WARNING +#define DBG_TAG "LWP" +#define DBG_LVL DBG_WARNING #include <rtdbg.h> extern void lwp_user_entry(void *args, const void *text, void *data); diff --git a/components/lwp/lwp_mem.c b/components/lwp/lwp_mem.c index e733166934..63fd5c89e1 100644 --- a/components/lwp/lwp_mem.c +++ b/components/lwp/lwp_mem.c @@ -11,8 +11,8 @@ #include <rtthread.h> #include <lwp.h> -#define DBG_SECTION_NAME "LWPMEM" -#define DBG_LEVEL DBG_WARNING +#define DBG_TAG "LWPMEM" +#define DBG_LVL DBG_WARNING #include <rtdbg.h> // todo: remove repleat code diff --git a/components/lwp/lwp_syscall.c b/components/lwp/lwp_syscall.c index 723786f1cd..be95c5fb89 100644 --- a/components/lwp/lwp_syscall.c +++ b/components/lwp/lwp_syscall.c @@ -24,8 +24,8 @@ #define SYSCALL_NET(f) ((void*)sys_notimpl) #endif -#define DBG_SECTION_NAME "LWP_CALL" -#define DBG_LEVEL DBG_WARNING +#define DBG_TAG "LWP_CALL" +#define DBG_LVL DBG_WARNING #include <rtdbg.h> static void __exit_files(rt_thread_t tid) |
