mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Aaron Tomlin <atomlin@atomlin.com>
Cc: leitao@debian.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] tools/workqueue/wq_dump.py: Add busy worker inspection and BH pool states
Date: Wed, 23 Sep 2026 09:27:36 -1000	[thread overview]
Message-ID: <731a01cb1a08c0b66af6a772a4cdac10@kernel.org> (raw)
In-Reply-To: <20260923031344.60494-1-atomlin@atomlin.com>

Hello, Aaron.

On Tue, Sep 22, 2026 at 11:13:44PM -0400, Aaron Tomlin wrote:
> +                            fn_name = prog.symbol(func).name
...
> +                        except (drgn.FaultError, LookupError):
> +                            continue

prog.symbol() raises LookupError when drgn has no symbol for the address,
e.g. a work function in a module whose debug info drgn didn't load. That
gets retried like a transient fault and the busy worker is then dropped
without any output. Maybe fall back to the raw address?

    try:
        fn_name = prog.symbol(func).name
    except LookupError:
        fn_name = hex(func)

Thanks.

--
tejun

  reply	other threads:[~2026-09-23 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23  3:13 Aaron Tomlin
2026-09-23 19:27 ` Tejun Heo [this message]
2026-09-23 22:04   ` Aaron Tomlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=731a01cb1a08c0b66af6a772a4cdac10@kernel.org \
    --to=tj@kernel.org \
    --cc=atomlin@atomlin.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®