From nobody Sun Jun 14 22:32:31 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gdp0c0t8Sz6hZsc for ; Sun, 14 Jun 2026 22:32:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gdp0b604sz3cYX for ; Sun, 14 Jun 2026 22:32:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781476351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g+CGuB1vBd9kj7j1azest7KzuPEKptQqBp14VnxA7aI=; b=h7UyPH6g4T50UnoaJpVFl5cFU6xWbD9LaFTFL0MAechND6QNmg10KzmmpR8CLjnsxrjLjV J6bN6KhY0mZ9yqQiAkj5eoUSmpc1MSewGdz8czPNO3Shh7kBVbzxhKiZ/3+LOhNq3R3vbc QkWkTH+3MDJ9RqXggzsA1CJYCGrPsDnpJNYF3bjR5cD7deK9YCdxmjBgDmfOfwsvOuR6YC arXBjCbWP2RYTM1DHrAHobxXkoRhtf7xq3TjoQU5yFtiSTdJCtbkOHBUlTS+VzaZHFQ3U2 K9QrJTdERh0JcH5eFKCX5QeRoC2jBwfZP5iKnuohe1/Zd75FBDGKc37KJ/Yjjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781476351; a=rsa-sha256; cv=none; b=SvKr+je3RuCpqNKuKwy0SaAzjQnpWQ2pbTjH/t7yXttHUffWjYzCQs0wN8scqC9f0fQ03e rOdXMjunhH2e2DB4hRyJdAJbAsJaUic225GW1WIS0JmuvuYKnth7282aTiv9VTKtVscZ26 5w6P73TAp5Om8foQg/4LpetJHS1IjOSlgF5d5YOvXbdwW87QXOxWTxmT8JXQpmv1+zmiHR hdLqBqF7vHF34Ig5YzoX6jw6xh4CudmpJK3slLTpcPxoTYTTCdP/8fkF/xPLAMSGpug6mY OxdN0mSBOovumjun8cRbyAo40js3Ajgky7bv2o7rG2ZjKI522xWZTML8jaIHLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781476351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g+CGuB1vBd9kj7j1azest7KzuPEKptQqBp14VnxA7aI=; b=bBN4jeKBMlH6wXn2yGSpSJR/+2AfyAw0eJ28/kVIZo7gewex3NXPJQU6fodhtKf81220mm KA7L8f4KDvjGPiqyvqKjLeNHhPyXrTiamn5/4srFJ+TVhYNdGpk+0AeTehuFccPRbQvpr6 IbxKyoQhKkL8ROchHgrRKJfasECQYxvkm5+Nn2aU4iVma6JlRC0RfoQpWmKHdIIJ3YdRjC KILRgopD8AWF5dCDvyOpSfgWgdRhNA1cwBau+IE+JD+a8AGaqIj/RIxkiWPwv+iOlT0aVU W66Zs+ENtVO07GUV0hyi2WyymVSAe8Gsdc56KhmUjGk0u3W5bPPFoWO30TmgNw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gdp0b5Y1KzCwd for ; Sun, 14 Jun 2026 22:32:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 419c3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 14 Jun 2026 22:32:31 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: b8ec4929e9f4 - main - callout: ddb: resolve symbol of callout function List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8ec4929e9f4c83bf02f412de1f9022b17abf867 Auto-Submitted: auto-generated Date: Sun, 14 Jun 2026 22:32:31 +0000 Message-Id: <6a2f2bff.419c3.25c2dbae@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=b8ec4929e9f4c83bf02f412de1f9022b17abf867 commit b8ec4929e9f4c83bf02f412de1f9022b17abf867 Author: Bjoern A. Zeeb AuthorDate: 2026-06-10 11:57:09 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-06-14 22:31:39 +0000 callout: ddb: resolve symbol of callout function In the ddb show callout function try to resolve the symbol of the callout function to improve debugging. In my case I went through various callouts from show ktr to check what they were and this saved me opening lldb/gdb next to it (and still having the old kernel as the panic to debug was upon reboot). Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: rlibby Differential Revision: https://reviews.freebsd.org/D57521 --- sys/kern/kern_timeout.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 0fa1af6ef5a7..1f97e4f813a1 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -1485,7 +1485,9 @@ _show_callout(struct callout *c) C_DB_PRINTF("%" PRId64, c_time); C_DB_PRINTF("%" PRId64, c_precision); C_DB_PRINTF("%p", c_arg); - C_DB_PRINTF("%p", c_func); + db_printf(" %s = %p (", "c_func", c->c_func); + db_printsym((db_addr_t)c->c_func, DB_STGY_ANY); + db_printf(")\n"); C_DB_PRINTF("%p", c_lock); C_DB_PRINTF("%#x", c_flags); C_DB_PRINTF("%#x", c_iflags);