We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474a549 commit 8034b31Copy full SHA for 8034b31
tools/workqueue/wq_monitor.py
@@ -32,16 +32,13 @@
32
rescued The number of work items executed by the rescuer.
33
"""
34
35
-import sys
36
import signal
37
-import os
38
import re
39
import time
40
import json
41
42
import drgn
43
-from drgn.helpers.linux.list import list_for_each_entry,list_empty
44
-from drgn.helpers.linux.cpumask import for_each_possible_cpu
+from drgn.helpers.linux.list import list_for_each_entry
45
46
import argparse
47
parser = argparse.ArgumentParser(description=desc,
@@ -54,10 +51,6 @@
54
51
help='Output in json')
55
52
args = parser.parse_args()
56
53
57
-def err(s):
58
- print(s, file=sys.stderr, flush=True)
59
- sys.exit(1)
60
-
61
workqueues = prog['workqueues']
62
63
WQ_UNBOUND = prog['WQ_UNBOUND']
0 commit comments