linux/tools/cgroup
Yousef Alhouseen a2ba161d17 tools/cgroup: iocost_monitor: parse help before importing drgn
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>
2026-06-24 08:59:01 -10:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
iocost_coef_gen.py blkcg: add tools/cgroup/iocost_coef_gen.py 2019-08-28 21:17:17 -06:00
iocost_monitor.py tools/cgroup: iocost_monitor: parse help before importing drgn 2026-06-24 08:59:01 -10:00
memcg_shrinker.py tools:cgroup:memcg_shrinker remove redundant import 2023-01-18 17:12:59 -08:00
memcg_slabinfo.py memcg_slabinfo: Fix use of PG_slab 2025-07-23 11:55:22 +02:00