diff options
author | Fan Yu <fan.yu9@zte.com.cn> | 2025-09-07 00:13:38 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 17:32:56 -0700 |
commit | 5e57515d81f9003555b7a4d246e02f1ee9c74ffa (patch) | |
tree | 4e99349ddc774e0f3ad0df549b08f932b24805f4 /scripts/gdb/linux/timerlist.py | |
parent | 99d9c55f88e69ebbfc90e05ce7c320bdb3901d03 (diff) |
tools/delaytop: add interactive mode with keyboard controls
The original delaytop only supported static output with limited
interaction. Users had to restart the tool with different command-line
options to change sorting or display modes, which disrupted continuous
monitoring and reduced productivity during performance investigations.
Adds real-time interactive controls through keyboard input:
1) Add interactive menu system with visual prompts
2) Support dynamic sorting changes without restarting
3) Enable toggle of memory verbose mode with 'M' key
The interactive mode transforms delaytop from a static monitoring tool
into a dynamic investigation platform, allowing users to adapt the view in
real-time based on observed performance patterns.
Link: https://lkml.kernel.org/r/20250907001338580EURha20BxWFmBSrUpS8D1@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>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions