[PATCH v7 0/7] add mbuf debug capabilities

Thomas Monjalon thomas at monjalon.net
Fri Oct 17 18:10:30 CEST 2025


16/10/2025 22:34, Thomas Monjalon:
> History is added to mbuf for debugging.
> 
> This series set some marks in mbuf allocation/freeing and ethdev Rx/Tx.
> More marks could be added in other libraries.
> Drivers could benefit a finer debugging by marking alloc/free calls,
> in addition to marks already done in the mbuf library.
> Even better, the application could add its own marks.
> 
> As part of this series, mbuf statistics can be dumped,
> and a Python script will help to parse mbuf history.

Applied
It is an experimental debug feature.
It would be interesting to get some test feedback
about how much it is useful and what can be improved.





More information about the dev mailing list