Skip to content

tools/cgroup: iocost_monitor: parse help before importing drgn#994

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1115898=>linus-master
Open

tools/cgroup: iocost_monitor: parse help before importing drgn#994
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1115898=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown

Pull request for series with
subject: tools/cgroup: iocost_monitor: parse help before importing drgn
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1115898

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>
@blktests-ci

blktests-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown
Author

Upstream branch: bade58e
series: https://patchwork.kernel.org/project/linux-block/list/?series=1115898
version: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant