mm: Fixed the usage of CONFIG_MM_BACKTRACE & CONFIG_DEBUG_MM.

This commit is contained in:
Fotis Panagiotopoulos
2022-07-21 15:04:09 +03:00
committed by Xiang Xiao
parent e7b8af7a35
commit 66f49c1f3c
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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