diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-06-24 14:36:52 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-06-24 08:59:01 -1000 |
| commit | a2ba161d17836d6c81aca32a35e75c913207142b (patch) | |
| tree | ff26c49860e5a578bdcad6e69ae01605722afd99 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f0e6f20cb52b14c2c441f04e21cef0c95d498cac (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
