From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 9F49C3BA22C for ; Tue, 21 Jul 2026 20:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667452; cv=none; b=gOi1bscEILS1sc5tFeNoATT6zQL6K0JPX7EOJXqifb2n7lwNM4jAWgRj61PP7wR9JP18/pw1zYnmpPQ/Bsd9UIumqhnwiuBoAlCZBLzlsnzm3VDP57sUwwxSzDEfQU0o6223khuZb7UWCcYRcuZOLHrd5SC9MGuEt9dEWeAspT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667452; c=relaxed/simple; bh=yfxjNCD2FfV6WQ7UCS9hJEIU3/cj9TtYhccgD7F2GOk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hsLboOKYH7pUzixJVF8PyT17Arn+vXP9UrzkpkHkEl52SThpYozZyoJaYOnfgJ4LZAk3P45xqet3/rxnVcr4xZG933/A0zbexdPhwUNQ/fIzXuUoCHIVcYj1jfns8KR5GU/0LaoJU22NuYqO9hN0gvRWfdvtF+29CNfqFuwCEHM= 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.46 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-f46.google.com with SMTP id 46e09a7af769-7e9ecb1e13bso4405131a34.2 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=TrbUJCa7SbaDHFczt9g6jqmsVm0mp9FCY72gyFbfDN948/5XW9zBHns8kSsbG7jQ5A gTg9oUmIpfFlvDoHw3lnXGyKe5ifNS1WB392O7DV6Q2pW0WulgJfAM6rrklbuOFfkC2Q Vhv+jVRIw+vRmyLxiQ1R6e6zKZNBb4dWo9Zsm5UAOGOqyoQQXS27Wm2M9xAXPiA5ZuB4 QhRNE0C9bH8QogMCKU2OBLYrwrLQxHuPJD87xRtt0/f/SsWypafgiUFfLZD9rPFfMf3Z /IJIABBBaRJYY46Ib6jxLzzC2+xIxm/TVy5J9Uaf+umig1iltOLpqC6OonuIrhys0Jty PvvA== X-Forwarded-Encrypted: i=1; AHgh+RrW+pNI+V8UHStmDjlHpwHE3XqPnW9VAQ1eAlt+BLVpI9xf75sdgql7/jZnClbg6GYWhnLQzay8qo+K@vger.kernel.org X-Gm-Message-State: AOJu0Yy+vVrFqa4Tz90XVRM4d7kgZ8MFwApPZvUJ/vejpkwB0lQqwVK+ rQNcvDsbgxlJ9CnfySSAdfntyNM/lx2NH38lxeZJdeO4zmC64GghGXlT X-Gm-Gg: AfdE7cntTOIBMyJb5W4KEEd3zBttNWtK54BqBmTtMOLbv8LkaVQzbNg5J/74DLXd4hS tpu2PE3e/uUMmCPtoq94RfNoPYBv3KDcSENT5MbI4nD3/K8yNLgThVf8BB5bCWE2cAw2NNILpca Z2gFV7Vd5WBK5H3MFXixHXxheH9O0WXRxUMG+rKsBSKeTuYc2V0Y8G7KL+zELJsK8m87oZPXnPD 6V50jw0ARfar7nATBvuV18Lj70v4m84Xgddtqb7CVXwNwgpKTCD3f1m7rioqCvN08tZGBtPDv+N zBtk3P8Y8VVJVWC2ZsWwC4B1nkwKAjQ9JyKIWs6laZb5wbAfNLFWEHqjLgHkgv/wlucyJZKltUB 3Rbf/GPBYITVGcWKaxdZwdyNEnsXd86m0W2OFPiplCQzPrcMfn9EkAuQ/MqFjtFtsNYrcxNldNZ 5cr79Hvkkuolj6p5ABaN3T3L8CKF70hbWeKMQRPbCwBzDRDQ3BAeOqcsjpf3uUDmliVjMcStK3v kdZFl2GstWN2bBBfqXlf2GpCA== 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-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: <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