diff options
| author | 2026-08-31 14:15:53 -0400 | |
|---|---|---|
| committer | 2026-08-31 10:17:08 -1000 | |
| commit | 93e257938aa67a6c957217db94091d9d9e5d403f (patch) | |
| tree | bd7bb053c63b166ce0e1ea3fd394f6b04643853a /scripts/Makefile.thinlto | |
| parent | workqueue: reject watchdog thresholds that overflow jiffies (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
