summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAaron Tomlin <atomlin@atomlin.com>2026-08-31 14:15:53 -0400
committerTejun Heo <tj@kernel.org>2026-08-31 10:17:08 -1000
commit93e257938aa67a6c957217db94091d9d9e5d403f (patch)
treebd7bb053c63b166ce0e1ea3fd394f6b04643853a /include/linux
parent068c35b5d0546c8625b3d7c61910f73775cf1216 (diff)
tools/workqueue/wq_dump.py: Support backward compatibility for wq->attrs rename
Commit 464e454e1cb4 ("workqueue: rename wq->unbound_attrs to wq->attrs") renamed wq->unbound_attrs to wq->attrs. When running wq_dump.py against older running kernels or vmcores where struct workqueue_struct still contains unbound_attrs, drgn raises an AttributeError. Add a wq_attrs() helper to allow wq_dump.py to inspect both older and newer kernel versions seamlessly. Fixes: 464e454e1cb4 ("workqueue: rename wq->unbound_attrs to wq->attrs") Signed-off-by: Aaron Tomlin <atomlin@atomlin.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions