mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
mm/mm_heap: change CONFIG_MM_BACKTRACE to int type
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ struct mallinfo
|
||||
* by free (not in use) chunks. */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_MM_BACKTRACE
|
||||
#if CONFIG_MM_BACKTRACE >= 0
|
||||
struct mallinfo_task
|
||||
{
|
||||
pid_t pid; /* The pid of task */
|
||||
@@ -72,7 +72,7 @@ extern "C"
|
||||
|
||||
struct mallinfo mallinfo(void);
|
||||
size_t malloc_size(FAR void *ptr);
|
||||
#ifdef CONFIG_MM_BACKTRACE
|
||||
#if CONFIG_MM_BACKTRACE >= 0
|
||||
struct mallinfo_task mallinfo_task(pid_t pid);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user