[PATCH v6 7/7] usertools/mbuf: parse mbuf history dump

Thomas Monjalon thomas at monjalon.net
Wed Oct 15 21:11:23 CEST 2025


15/10/2025 19:50, Stephen Hemminger:
> On Tue, 14 Oct 2025 14:33:40 +0200
> Thomas Monjalon <thomas at monjalon.net> wrote:
> 
> > From: Shani Peretz <shperetz at nvidia.com>
> > 
> > Add a Python script that parses the history dump of mbufs
> > generated by rte_mbuf_history_dump() and related functions,
> > and presents it in a human-readable format.
> > 
> > If an operation ID is repeated, such as in the case of a double free,
> > it will be highlighted in red and listed at the end of the file.
> > 
> > Signed-off-by: Shani Peretz <shperetz at nvidia.com>
> 
> Minor stuff.
> 
> $ flake8 --max-line-length=100 dpdk-mbuf-history-parser.py 
> dpdk-mbuf-history-parser.py:14:1: F401 'sys' imported but unused
> dpdk-mbuf-history-parser.py:29:27: E203 whitespace before ':'

Interesting, thanks.

I'm a bit lost about Python linters.
I ran black, should I run flake8 + black? something else?





More information about the dev mailing list