summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-08-12 09:03:20 -0700
committerTejun Heo <tj@kernel.org>2026-08-12 07:14:22 -1000
commit4e0ee51cc2b7a542e5679edaa14aaa82be3b4abb (patch)
tree9876593281379cacdd6d337f5dde51e764e76a08 /tools/perf/scripts/python/event_analyzing_sample.py
parent1d125f0e6cbd34f6260affac85987201b6899ed0 (diff)
workqueue: BUG_ON() instead of returning NULL in wq_node_nr_active()
wq_node_nr_active() warns and returns NULL when @wq is not unbound, but every caller dereferences the result right away, so the WARN_ON_ONCE() only moves the oops one frame up, as raised by Tejun. Fix it by BUGing_ON() instead of this silly WARN_ON_ONCE(); Fixes: b72fdc651056 ("workqueue: account nr_active by the backing pool") Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions