1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 03:53:04 +01:00
RIOT/dist/tools/pktbuf-stats/README.md
Marian Buschsieweke 77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00

19 lines
520 B
Markdown

`pktbuf` parser
===============
This parses the output of the command `pktbuf` provided by the module
`shell_cmd_gnrc_pktbuf` for the `gnrc_pktbuf_static` implementation.
The command expects the ELF file of the binary the `pktbuf` command was executed
in to get some binary information on structs potentially stored in the packet
buffer.
A packet buffer dump can also be provided as a file. If not provided, it is read
from STDIN.
```sh
./pktbuf-stats.py <ELF file> [<pktbuf-dump>]
```
Requires GDB to be installed