mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
iocost_monitor.py imports drgn before argparse can handle "-h" or report argument errors. That makes basic usage help fail on systems where drgn is not installed. Parse arguments before importing drgn so the help and argument-error paths work without the runtime debugging dependency. Normal execution still imports drgn before reading kernel state. Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| iocost_coef_gen.py | ||
| iocost_monitor.py | ||
| memcg_shrinker.py | ||
| memcg_slabinfo.py | ||