mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
mm: Rename mm_memdump_s to malltask
align with the naming of mallinfo_task Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
c76f9f9349
commit
ddbe9eb6ab
+2
-10
@@ -52,7 +52,7 @@ struct mallinfo
|
||||
* by free (not in use) chunks. */
|
||||
};
|
||||
|
||||
struct mm_memdump_s
|
||||
struct malltask
|
||||
{
|
||||
pid_t pid; /* Process id */
|
||||
#if CONFIG_MM_BACKTRACE >= 0
|
||||
@@ -67,14 +67,6 @@ struct mallinfo_task
|
||||
int uordblks; /* This is the total size of memory occupied for task */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public data
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_MM_BACKTRACE >= 0
|
||||
extern unsigned long g_mm_seqno;
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
@@ -86,7 +78,7 @@ extern "C"
|
||||
|
||||
struct mallinfo mallinfo(void);
|
||||
size_t malloc_size(FAR void *ptr);
|
||||
struct mallinfo_task mallinfo_task(FAR const struct mm_memdump_s *dump);
|
||||
struct mallinfo_task mallinfo_task(FAR const struct malltask *task);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user