Skip to content

User experience and code quality improvements

John Kacur linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tuna: Warn when user-specified patterns match zero threads or IRQstuna-cmd.py+9 -00 replies
2/6tuna: Suppress output when pattern matches zero resultstuna-cmd.py+23 -30 replies
3/6tuna: Make warnings opt-in with -w/--warn flagtuna-cmd.py+6 -40 replies
4/6tuna: Enhance what_is command with new kernel thread descriptions and usability improvementstuna-cmd.py tuna/help.py tuna/tuna.py+60 -160 replies
5/6tuna: Add comprehensive docstrings to converter functionstuna-cmd.py tuna/tuna.py+149 -00 replies
6/6tuna: Add centralized input validation for CPU numbers and RT prioritiestuna-cmd.py+26 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] User experience and code quality improvements

This patch series improves tuna's user experience and code quality through several enhancements:

Patches 1-3 improve pattern matching feedback by warning users when their thread or IRQ patterns match zero results, with an opt-in -w/--warn flag to control this behavior.

Patch 4 enhances the what_is command with updated kernel thread descriptions for modern kernels, including jbd2, kworker, irq/, and other commonly seen threads.

Patch 5 adds comprehensive docstrings to all converter functions, improving code documentation and maintainability.

Patch 6 adds centralized input validation for CPU numbers and RT priorities, providing clear error messages instead of confusing system call failures.

John Kacur (6):
tuna: Warn when user-specified patterns match zero threads or IRQs
tuna: Suppress output when pattern matches zero results
tuna: Make warnings opt-in with -w/--warn flag
tuna: Enhance what_is command with new kernel thread descriptions and
usability improvements
tuna: Add comprehensive docstrings to converter functions
tuna: Add centralized input validation for CPU numbers and RT
priorities

 tuna-cmd.py  | 211 ++++++++++++++++++++++++++++++++++++++++++++++++---
 tuna/help.py |  26 +++++--
 tuna/tuna.py |  51 ++++++++++++-
 3 files changed, 269 insertions(+), 19 deletions(-)
Signature · 1 line
2.54.0