From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D250A443AAB for ; Tue, 21 Jul 2026 20:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667451; cv=none; b=nadFMdx1wp6DBwskYbo0MfDjaQakq0ebn1IDOZlktzIjTLupQwuukqAMHDmgjNWW0RoTTb4OP3IJ9lvRnQxD9yWIO/TM/Xdle9V2TDQ1GURClCQ1Rm3s9M08ygX7xZSzCYxNm8XfRxeKaFbdzFdYf6mbB2lz5P17H9kYEdZT9ho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667451; c=relaxed/simple; bh=yfxjNCD2FfV6WQ7UCS9hJEIU3/cj9TtYhccgD7F2GOk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YpyORkbYqALOO9THZlecRoDBuSXPh9i6N5oQOCou2+DSPOPYeDl/vxhi02Txx7x7ERjjawwu69S2SYv4ICxN6iHXDtqUEFCRnQ4UucqV1vkDyapLhcnix4y2DdshAdt5AGjlALz3D1CgqfPsSsX8btoSEA8+8/GZvZlEhOYF/wU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=f1i7zzSs; arc=none smtp.client-ip=209.85.210.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f1i7zzSs" Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-7e9eaf04bfaso4048480a34.1 for ; Tue, 21 Jul 2026 13:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784667447; x=1785272247; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Tkpd6XZrbayv1qGlRLm5NJZ/GcnFTR7uIhPPki4vU/s=; b=f1i7zzSs4MTch98HP2skO47zoVs0bqER2ez+3htfcbfXAsm0gGHd5pq/lXgpfbKpjz nL0g8N4UNVCvt5/G9AP1ZmAzvo2OuEBuQ1h9/ZzHJ5bZF3WiJXtmpUWzf4lU0vQl16nr lk0eRNeu2EXDBRsGdQt6NwTPtWZH0Eouokc5gyC5o1NHXCp7ppwiOBf2Er6kscyKxNrG hlvrAD6RIMBrWh4VV80JUbtvpl4gUxvZINIl1fvBTRVG8isomQe7OIAX2XS0NDYURW7x b9RFgj9lQWzmajle98vqfdB3s9FwXMUUNuKGpRRsFpsuRE8IwEGHG2roA0nMORiZiC6t G4sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784667447; x=1785272247; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Tkpd6XZrbayv1qGlRLm5NJZ/GcnFTR7uIhPPki4vU/s=; b=inOrfFCXOR+AfLq0NikIL+KXZLmXEmf9NkfeGHW8JR1Ecy0QadrbCqsorFRSLoh/PD csrS69ANpIi1/xgXGodLLmlbuRmua0rKcKfG+5j4Kx6JxxsjOc4y3sgF4W2t07dzACd/ 7im7eBdXAAmOfox10tThZfzyIxHfyhwTMjzCo36XvjaDyNqgtGdQqJcSOp4AsnTxKX/4 T2A6s8sQ4WG9IxDt4HsVXbBVkqIQyKLYj4TKdLZCtgYUPFtAgvGnqy40V3gSed+rc8oO QGw02FX3Lk71FHulz6oQ5JJJFj6S3hk+98iW3LjJOiYAqEY9sXSdz7xyIljbfA0DTN8v ddeg== X-Gm-Message-State: AOJu0Yyiu47TKeLJav3tyjjA2ZEMrFBXzR69NR9Jfe++Qe/lmIFQiZqO tgNiXT9NFRUf1DZrYW5MbBjfT5JZUEo4DMeA6/hG4rdnmj6ICqDbpfya X-Gm-Gg: AfdE7ckGQPFqmZTgXu6QjsRvoPYsFBRWYYjamffuTZ0wL2I6knRvDwFRlCauIGyYB1E zIXl8A3jUagpgjrkt4w8jjhmi1aQf3ouSADusS4LANjJGD4eZyGwMQNZCvU/Sr4U51fnwqfuDlU 7ps6M6o3k5MU3DhPg4eaNeiZk1lH8UrGHvxyB0iObuMTIYSwu2ByeOB9EOIl5cQWI5NXa/EE+60 C5SyVui0VlUz0eKcP7OrscRaRVks7UjvQGy+lHeYZj7H1GTCeBPLIYErr8R4pxqPUq4rx/dZ4bv z5Wj7gIL3vfofufQODGnql0E04jrlPzfPolTHVmiEwJQiXo0F+QQKDmU5PKSFrZHQYarJiv2is9 GMPEI4A+LAMqws8v/pe0fKAtFGiQk33Q6/69ub47Ydmrietc9lOjbQp5UCOFFoQMeodF9fBAYDW 2s2gULDNKVfYVO0033y3tJbIPPQso1e87fuUsmQaN/PHHv/8XGTnBGwzTQFFfW1nuoiIfdRWryD PqtCI1HUw50HTn50KJfURhJjA== X-Received: by 2002:a05:6830:909:b0:7e9:dbbe:5af9 with SMTP id 46e09a7af769-7eda4d70994mr10261926a34.31.1784667447247; Tue, 21 Jul 2026 13:57:27 -0700 (PDT) Received: from [192.168.0.245] (c-98-38-17-99.hsd1.co.comcast.net. [98.38.17.99]) by smtp.googlemail.com with ESMTPSA id 46e09a7af769-7edaf94a494sm11134501a34.13.2026.07.21.13.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 13:57:26 -0700 (PDT) From: Jim Cromie Date: Tue, 21 Jul 2026 14:57:02 -0600 Subject: [PATCH v7 13/29] 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: <20260721-dd-maint-2-v7-13-010fbe73b311@gmail.com> References: <20260721-dd-maint-2-v7-0-010fbe73b311@gmail.com> In-Reply-To: <20260721-dd-maint-2-v7-0-010fbe73b311@gmail.com> To: Andrew Morton , Jason Baron , Greg Kroah-Hartman , Shuah Khan , Simona Vetter , Luis Chamberlain , Petr Pavlu Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-modules@vger.kernel.org, linux-kselftest@vger.kernel.org, Jim Cromie , Louis Chauvet X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784667429; l=1375; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=yfxjNCD2FfV6WQ7UCS9hJEIU3/cj9TtYhccgD7F2GOk=; b=QF5cQMK6T8UD1YJz5nk2AJgW01BgHiDFKzY+xuJZdV3zwDHcNIHgMuD2tCQNxi+sv49R3fsxO T3mOec9MvhtCAxvyJpnSu43qxs3y9ZYtOKNNAHiEMVbFgE2WhPqbHCp X-Developer-Key: i=jim.cromie@gmail.com; a=ed25519; pk=C6E5ODlPQo7ZBynATXH9wg7K6HxP0pIXyf4s38Qw0XE= 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 577a07916072..a86e1d5845e6 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1170,7 +1170,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