]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/delaytop: add memory verbose mode support
authorFan Yu <fan.yu9@zte.com.cn>
Sat, 6 Sep 2025 16:12:52 +0000 (00:12 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 14 Sep 2025 00:32:55 +0000 (17:32 -0700)
commit99d9c55f88e69ebbfc90e05ce7c320bdb3901d03
tree585a8c543cc11577d3f7e714472b420d20a60948
parent0471440c8061e9a7c0fd292c7c6598d6304efd53
tools/delaytop: add memory verbose mode support

The original delaytop tool always displayed detailed memory subsystem
breakdown, which could be overwhelming for users who only need high-level
overview.

Add flexible display control allowing users to choose their preferred
information granularity.

The new flexibility provides:
1) For quick monitoring: use normal mode to reduce visual clutter
2) For deep analysis: use verbose mode to see all memory subsystem details

Link: https://lkml.kernel.org/r/202509070012527934u0ySb3teQ4gOYKnocyNO@zte.com.cn
Signed-off-by: Fan Yu <fan.yu9@zte.com.cn>
Reviewed-by: xu xin <xu.xin16@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/accounting/delaytop.c