diff options
author | Jakub Kicinski <[email protected]> | 2023-11-26 15:07:37 -0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-11-28 15:48:39 +0100 |
commit | 69cb4952b6f6a226c1c0a7ca400398aaa8f75cf2 (patch) | |
tree | bb1f869ffd9a3ee34f17db0b5111e327d8e17541 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7aee8429eedd0970d8add2fb5b856bfc5f5f1fc1 (diff) |
net: page_pool: report when page pool was destroyed
Report when page pool was destroyed. Together with the inflight
/ memory use reporting this can serve as a replacement for the
warning about leaked page pools we currently print to dmesg.
Example output for a fake leaked page pool using some hacks
in netdevsim (one "live" pool, and one "leaked" on the same dev):
$ ./cli.py --no-schema --spec netlink/specs/netdev.yaml \
--dump page-pool-get
[{'id': 2, 'ifindex': 3},
{'id': 1, 'ifindex': 3, 'destroyed': 133, 'inflight': 1}]
Tested-by: Dragos Tatulea <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions