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 D829D4772AB; Tue, 13 Oct 2026 02:36:38 +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=1791858999; cv=none; b=QbkyXFEjeTCSyAvhent0m2RcRIlDbjGqWnjns7aVa6A1hpEfPJB3sVxzdN+I9R11Y8V5S+Q8T2JvMojoL6Wxw/v5laVbarMgP3SoGxKZircx8cH+53sfwPcgtSpvxW/HEbJYUcLdmSjgI6eMxc75TqtM/EisrpF/l3qoKFh1zVE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791858999; c=relaxed/simple; bh=qytEUDKwEYu8Uf3XRFp50638gBY1r0Bkz4QuGMoOJdQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=R4NoJpEOEdQZWwsMA/iGReMC+/GoGGxIzQNbXT6LOMy+FZnoVnj5JgkFmED7WsZgPzNQNvOhImnyezqnPtyBWV7xIJ6mSffYWr2VDYNA8+l7rXlsFhuTPIahS4hLjTSqNt8ekhcYHXNQXNtYnfYBPAbYOhN954ysVPC/Xa554Bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WFxPuVTw; 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="WFxPuVTw" Received: by smtp.kernel.org (Postfix) with ESMTPS id 66DB0C2BCFB; Tue, 13 Oct 2026 02:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791858998; bh=qytEUDKwEYu8Uf3XRFp50638gBY1r0Bkz4QuGMoOJdQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=WFxPuVTw1RhGXo2QSpVnQU5A4jeCzz7SRfWcUE5XBfB7sXzIA4m84GdXeq8xVKHLr bbs+h97trKfa2Pschk8eXjKhl3yGg/KYraffE63HWEDK1TD+LFuuK3tgMBNYZInI3U 2rQYIcSuQ3rzHj7qHnBCcVCWXEugjoREaPUcJET5Lq03n3f57V0rb/d6QbSXGVKOVN 85s1t9jfqigS9ZuBCPKRWJ+W5N1SUrPycw63Fqcdrh0C9RWTwbE5PS9IvYm7CsraOU f9FxjVIPCuuAT1PivpIE4taF0mZF3GOeGxB7aqJBWKiWq4OW8KfGvBy49W0/WCXy5o fH4sT42aDxCUw== 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 50859CA9EC5; Tue, 13 Oct 2026 02:36:38 +0000 (UTC) From: Jim Cromie via B4 Relay Date: Mon, 12 Oct 2026 20:36:40 -0600 Subject: [PATCH v12 09/40] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Precedence: bulk X-Mailing-List: linux-kernel@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: <20261012-dd-cmap-part2-clean-v12-9-3c8cc5725def@gmail.com> References: <20261012-dd-cmap-part2-clean-v12-0-3c8cc5725def@gmail.com> In-Reply-To: <20261012-dd-cmap-part2-clean-v12-0-3c8cc5725def@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 , Jonathan Corbet , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= 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=1791858995; l=1375; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=u6iIguPsThltxCS7AQHMaEZlX8Edh/aUqZEY0TaPvTA=; b=6kYToi1n8XnsGCGporEF2q8YsMmYleV4GzgXqnUdb76vjJFKdqe3ndsOUfxlY6oZ7jkAGw8Lw RrUX5WNr/VND/E7+eiFO96odWyZWYWH+hZfYxkaHD8URdMD8XbeZwpQ 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 8682c23b5fe7..13a3d1a8c3ca 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1174,7 +1174,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.56.0