summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYousef Alhouseen <alhouseenyousef@gmail.com>2026-06-24 14:33:36 +0200
committerTejun Heo <tj@kernel.org>2026-06-24 08:56:46 -1000
commit4d9be388910e5fbdb3f2794ed20737515ca6b96d (patch)
tree89ed402a7dc37dc5d246266b1834ff96e8497d06 /tools/perf/scripts/python
parentf0e6f20cb52b14c2c441f04e21cef0c95d498cac (diff)
tools/workqueue: parse help before importing drgn
wq_monitor.py and wq_dump.py import drgn before argparse can handle "-h". That makes help fail on systems where drgn is not installed, even though the scripts do not need drgn to print usage text. Parse arguments before importing drgn so the help path works 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')
0 files changed, 0 insertions, 0 deletions