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 7559B4F0532; Sat, 5 Sep 2026 18:13:40 +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=1788632020; cv=none; b=SDdHKI3Jni2A1NOONtcXbsrOB+DwB4AOoJnNzTLK6e8KK4jmSG/AhVsqJD74YpWcCSQ4J14F5HhXRJEP6m5TfDEtQohRRNK50l/TdlfGFvRpjgCnospyYT54auGZ+/TQq6ZDmNwb8rJBFkDu/57JTL9G3sb8BYN8oCwsGe4WrG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788632020; c=relaxed/simple; bh=U/MR7okkNSBllwiD+fvbOFbvZ4PUrgcbNT8uOxRHvVA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Zl6tw3AMLdIsI7iM+L3p+TfbvS+3OqKlFIDHTwZMnf8t4aO9iOm8ld/OqkYDVayAFQVjJmlL8ckQ8oFwg3bFyDb8Rx0zGFl9AdQ0QAL4P+LYwVEXOlVSHLOes0bTr4X6pRc+rl42zgMESIWJsamNnJJFjlsk2c4427iqXgDPbro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D6ONhPQT; 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="D6ONhPQT" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4F0BDC4AF0F; Sat, 5 Sep 2026 18:13:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788632020; bh=U/MR7okkNSBllwiD+fvbOFbvZ4PUrgcbNT8uOxRHvVA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=D6ONhPQTUW4d1cmIJhxZLmkBxXH5meLtaS+wo7Q+RJPcZpHcOfJaJaANwzCzxp6sq S/Umo2IZ984D4ms0K4D6XcqD9l/v9S8GCEaZODOL2CxNKCCDy5lRdUL78+Ig10+A+1 7xsxHMquxLbw6HyrvK5CnB60rHo1HIPxSMZm7LYD/mPaLiPb4zb74Wl6Y4crc7crHs XvFKeT0gvsCFZOCj4DTol8gr/3A0bPHYw85hRuTXITWdmk4jTfKZRFeR6jNBks9nVO o03Ya11+fbk7DTg9+APBs9bj4pBO1PJmqf2KnTRlb7/1Mze1tdZSM6N7GasMS18cAK DPkZqJtu3MwQQ== 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 3D1DAC79F8B; Sat, 5 Sep 2026 18:13:40 +0000 (UTC) From: Jim Cromie via B4 Relay Date: Sat, 05 Sep 2026 12:13:26 -0600 Subject: [PATCH v8 12/43] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Precedence: bulk X-Mailing-List: linux-doc@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: <20260905-dd-cmap-part2-clean-v8-12-a4cc0674f6fd@gmail.com> References: <20260905-dd-cmap-part2-clean-v8-0-a4cc0674f6fd@gmail.com> In-Reply-To: <20260905-dd-cmap-part2-clean-v8-0-a4cc0674f6fd@gmail.com> To: Jason Baron , Shuah Khan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Arnd Bergmann , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Andrew Morton , Jonathan Corbet , Shuah Khan , Greg Kroah-Hartman , Nathan Chancellor , Nicolas Schier 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, Jim Cromie , Louis Chauvet X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788632017; l=1375; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=4cvraTEVN74zunEwaJQv4nxxjw4sgmz17B1QKY4NgZ0=; b=AQX70Ip6cjjdmnjDmydqZmB67k92+VeMmHaC4a38/0ZHvc7dhXB2X8lSJso11W+R059pvIqas STSL5SZcOTgDyrh8VoZzwuMSUCpo40uVmpkgLWZWAIp96Qybxu8cZe7 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 e23723ef7ddd..8d710c74309a 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