fs_procfsproc:fix proc_heap to get kernel task info
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
38c217bbfd
commit
06540e7be1
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ static ssize_t proc_heap(FAR struct proc_file_s *procfile,
|
|||
#ifdef CONFIG_MM_KERNEL_HEAP
|
||||
if ((tcb->flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL)
|
||||
{
|
||||
info = fs_heap_mallinfo_task(&task);
|
||||
info = kmm_mallinfo_task(&task);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue