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:
Xiang Xiao
2023-05-28 19:23:56 +08:00
committed by Petro Karashchenko
parent c76f9f9349
commit ddbe9eb6ab
13 changed files with 66 additions and 68 deletions
+2 -10
View File
@@ -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)
}