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
2020-06-23 11:12:33 +02:00
..
pktbuf-stats.py dist/tools: provide tool to parse pktbuf output 2020-06-23 11:12:33 +02:00
README.md dist/tools: provide tool to parse pktbuf output 2020-06-23 11:12:33 +02:00

pktbuf parser

This parses the output of the command pktbuf provided by the module gnrc_pktbuf_cmd 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