From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D60F2DFA2F; Wed, 9 Sep 2026 00:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788915303; cv=none; b=eBlxdqhS9X3UK9eDayoniUV25evH4qQyjfJjiYcI3DxpjNPZCutW9S8lPzL2dEggnrFWxMcJ5W0LcyyyNMipzy8HR5NqTlxCFbx4+ZIEtP0KWTkA6T9QL+x2XLUzLD0JEmUTQDW+W8SlR8vPz9f0aDgFimvooYV8aI9AhOk77gk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788915303; c=relaxed/simple; bh=3eOYByDscTNGEOO8jWMgJdsQl4e4Dlg+x/+WXs4I4fA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T3n5+kJdqI4yZanlcHd+MR7RFIVQkwKOL/ckuz3kFam15CucqPEpvSCf6LtAnUOlRB9eH0V49FAD59MRmuU7MlECqe7eRptb1SEcSnO3Z+WcxZjF/upQZhQGsnFMiMQtoAx3+JMrWITWfMls5jQnJfo3Wplp3Qor/170JH4nwtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OCOAXlLD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OCOAXlLD" Received: by smtp.kernel.org (Postfix) with ESMTPS id 94E8EC2BD00; Wed, 9 Sep 2026 00:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788915302; bh=3eOYByDscTNGEOO8jWMgJdsQl4e4Dlg+x/+WXs4I4fA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=OCOAXlLD4rDpOz3krl1RIMcUUBi0BU6y9Nf6x8MygcqWFhaTZOA0UWS+hXlxEnLcc lEmgJ+g5XUcpHpZ7JYEX1sUD0AV3dTTOX/2A0BrrvQooWVkiCy4WetuxGKRCf1MTko iKyz+ug0W2YdnNe9VqF40PwMG1kpMFyD6E35ARCMGGiTMSfatOD6ODMsxPipGdOYXf 5MEQeZcgJafEksiGXQl7bmJHZMQLKAMIII7xkmMDGkGr1jEWp6M9yKMYFbJUNInAwl fqGEjPUlMctPT5vkzEC5r3elHV5AOmP/uC8u4sELgIAutENV7mLzjujG1ley8gmneF 2uEwhMb0+YBSw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8302FC79FB2; Wed, 9 Sep 2026 00:55:02 +0000 (UTC) From: Jim Cromie via B4 Relay Date: Tue, 08 Sep 2026 18:55:05 -0600 Subject: [PATCH v9 09/39] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260908-dd-cmap-part2-clean-v9-9-3a3f621f4a10@gmail.com> References: <20260908-dd-cmap-part2-clean-v9-0-3a3f621f4a10@gmail.com> In-Reply-To: <20260908-dd-cmap-part2-clean-v9-0-3a3f621f4a10@gmail.com> To: Jason Baron , Shuah Khan , Andrew Morton , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Arnd Bergmann , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Jonathan Corbet , Greg Kroah-Hartman , Nathan Chancellor , Nicolas Schier , Shuah Khan , Randy Dunlap , "Rafael J. Wysocki" , Pavel Machek , Len Brown Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-modules@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-pm@vger.kernel.org, Jim Cromie , Louis Chauvet X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788915300; l=1375; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=0ONKTa6+i1UsHEshwI0X0sM8F5DNs8FHikxRLrxD+ro=; b=c33r4wPd3+E0P9+tfSmIQOdmrQ7vhbKBDODXcMA+teduRqqc8P9dMBIB2/CbimePQR9la/Bqg mPNxpwxKwwRC24fQuQELAjfT0prSStiLDYMuG6TRpRF28KhKpgpiElr X-Developer-Key: i=jim.cromie@gmail.com; a=ed25519; pk=C6E5ODlPQo7ZBynATXH9wg7K6HxP0pIXyf4s38Qw0XE= X-Endpoint-Received: by B4 Relay for jim.cromie@gmail.com/20260203 with auth_id=958 X-Original-From: Jim Cromie Reply-To: jim.cromie@gmail.com From: Jim Cromie When a dyndbg classname is unknown to a kernel module, the callsite is un-addressable via >control queries, and therefore uncontrollable. The control-file displays this condition as "class unknown, _id:N" currently. That spelling is sub-optimal/too-generic, so change it to "class:_UNKNOWN_ _id:N" to loudly announce the erroneous situation, and to make it uniquely greppable. NB: while this might be seen as a user-visible change, this shouldn't disqualify the change: a- it reports a classmap coding error condition, which should be detected in (or before) review. b- SHOUTING the error makes it more visible, uniquely greppable. c- the classmap feature is marked BROKEN for its only current user. Signed-off-by: Jim Cromie Reviewed-by: Louis Chauvet --- lib/dynamic_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 46ef31328194..5e4b9f7709a2 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1173,7 +1173,7 @@ static int ddebug_proc_show(struct seq_file *m, void *p) if (class) seq_printf(m, " class:%s", class); else - seq_printf(m, " class unknown, _id:%d", dp->class_id); + seq_printf(m, " class:_UNKNOWN_ _id:%d", dp->class_id); } seq_putc(m, '\n'); -- 2.55.0