XuNeo opened a new pull request, #15761: URL: https://github.com/apache/nuttx/pull/15761
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary nqueue has been added to output. E.g. ``` (gdb) mm pool Total 16 pools total blocksize bsize overhead nused nfree nifree nwaiter nqueue Umem@0x10048dc 4068 16 16 0 3 251 0 0 1 Umem@0x100493c 4068 32 32 0 3 124 0 0 1 Umem@0x100499c 4036 48 48 0 10 74 0 0 1 Umem@0x10049fc 4036 64 64 0 1 62 0 0 1 Umem@0x1004a5c 0 80 80 0 0 0 0 0 0 Umem@0x1004abc 0 96 96 0 0 0 0 0 0 Umem@0x1004b1c 0 112 112 0 0 0 0 0 0 Umem@0x1004b7c 0 128 128 0 0 0 0 0 0 Umem@0x1004bdc 0 144 144 0 0 0 0 0 0 Umem@0x1004c3c 0 160 160 0 0 0 0 0 0 Umem@0x1004c9c 0 176 176 0 0 0 0 0 0 Umem@0x1004cfc 0 192 192 0 0 0 0 0 0 Umem@0x1004d5c 3956 208 208 0 1 18 0 0 1 Umem@0x1004dbc 0 224 224 0 0 0 0 0 0 Umem@0x1004e1c 0 240 240 0 0 0 0 0 0 Umem@0x1004e7c 0 256 256 0 0 0 0 0 0 (gdb) ``` ## Impact One more column to the output message, makes it easier to inspect pool status. ## Testing Tested with qemu. ``` cmake -Bbuild -GNinja -DBOARD_CONFIG=mps3-an547:nsh nuttx ninja -C build ``` Make sure to enable pool. ```patch diff --git a/boards/arm/mps/mps3-an547/configs/nsh/defconfig b/boards/arm/mps/mps3-an547/configs/nsh/defconfig index 5ffdb8ae4c9..244f0d06da7 100644 --- a/boards/arm/mps/mps3-an547/configs/nsh/defconfig +++ b/boards/arm/mps/mps3-an547/configs/nsh/defconfig @@ -31,6 +31,7 @@ CONFIG_DEBUG_HARDFAULT_ALERT=y +CONFIG_DEBUG_SYMBOLS_LEVEL="-g3" ``` Run qemu: ``` qemu-system-arm -M mps3-an547 -m 2G -nographic -kernel build/nuttx -gdb tcp::1127 ``` Connect to qemu and loading GDB plugin. ``` gdb-multiarch build/nuttx -ex "tar rem:1127" -ex "source nuttx/tools/pynuttx/gdbinit.py" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org