diff options
| author | WillianChan <[email protected]> | 2021-02-20 16:18:29 +0800 |
|---|---|---|
| committer | WillianChan <[email protected]> | 2021-02-20 16:19:00 +0800 |
| commit | 4b4ab15602ccb2897917c48c514d38085312ca85 (patch) | |
| tree | 8184ad3496e1b54a5149e19a877ef7a5c51d55b4 /src/memheap.c | |
| parent | e94d90705655a1c73d041f685a07693f59b68822 (diff) | |
[kernel][memheap]rename memtrace to memheaptrace
Signed-off-by: WillianChan <[email protected]>
Diffstat (limited to 'src/memheap.c')
| -rw-r--r-- | src/memheap.c | 4 |
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 |
