mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
mm: Fixed the usage of CONFIG_MM_BACKTRACE & CONFIG_DEBUG_MM.
This commit is contained in:
committed by
Xiang Xiao
parent
e7b8af7a35
commit
66f49c1f3c
+2
-2
@@ -52,7 +52,7 @@ struct mallinfo
|
||||
* by free (not in use) chunks. */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_DEBUG_MM
|
||||
#ifdef CONFIG_MM_BACKTRACE
|
||||
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_DEBUG_MM
|
||||
#ifdef CONFIG_MM_BACKTRACE
|
||||
struct mallinfo_task mallinfo_task(pid_t pid);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user