summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWillianChan <[email protected]>2021-02-20 16:18:29 +0800
committerWillianChan <[email protected]>2021-02-20 16:19:00 +0800
commit4b4ab15602ccb2897917c48c514d38085312ca85 (patch)
tree8184ad3496e1b54a5149e19a877ef7a5c51d55b4 /src
parente94d90705655a1c73d041f685a07693f59b68822 (diff)
[kernel][memheap]rename memtrace to memheaptrace
Signed-off-by: WillianChan <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/memheap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memheap.c b/src/memheap.c
index d9c03079ee..abcba9a50b 100644
--- a/src/memheap.c
+++ b/src/memheap.c
@@ -693,7 +693,7 @@ int rt_memheap_dump(struct rt_memheap *heap)
return 0;
}
-int memtrace(void)
+int memheaptrace(void)
{
int count = rt_object_get_length(RT_Object_Class_MemHeap);
struct rt_memheap **heaps;
@@ -720,7 +720,7 @@ int memtrace(void)
return 0;
}
-MSH_CMD_EXPORT(memtrace, dump memory trace information);
+MSH_CMD_EXPORT(memheaptrace, dump memory trace information);
#endif
#ifdef RT_USING_MEMHEAP_AS_HEAP