1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/pktbuf-stats
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
..
pktbuf-stats.py treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
README.md treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00

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.

./pktbuf-stats.py <ELF file> [<pktbuf-dump>]

Requires GDB to be installed