From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 4E00B3B634E for ; Wed, 8 Jul 2026 02:18:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783477122; cv=none; b=D8PwbCOsE5Mwg+Zcg1kiDClcsOnivfNA70iig3PUU1em/hYtBDbGt2iD+2Wn3uyaoD2PjgEUr94KrBebYl1+XSrCHCNyP/UCJ2wzyyNSff7GnjYAsXtQlfN05wxDuWGHCusvt2CeZhrXktwMKOEXStNsVzGkfVYuykzJirFtxzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783477122; c=relaxed/simple; bh=yfxjNCD2FfV6WQ7UCS9hJEIU3/cj9TtYhccgD7F2GOk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kU2QibGaOCLBomRAmQQVTsiL6UYIEFKmfdBoPFYSoeLlQNidpPg2zHn0gfvH9hxf8igJzilOPU/c+DZwkFY62qhWZ7f/b23FAE1s0RloXm0t+HG7s8sY1+lorypJqZlEwS5hloc6xrSv3wedoJkPBmCRYP5u5fkrd4yjdzAqjkI= 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=rVmUZcQL; arc=none smtp.client-ip=209.85.167.177 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="rVmUZcQL" Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-495c63c41ceso111757b6e.2 for ; Tue, 07 Jul 2026 19:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783477119; x=1784081919; 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=rVmUZcQLaFw0aNmApg6noNV43uIbiXNhcrYwmKT2v5ATs44QHqEXN2gl9qBnhTIoKM y11v8/9pWYpjo697LEUyIKhWdQ8CC5KWEpLBJaobQ4xIoUKsk1u9fKCdHgyMzTqhUVGE KCS5iPtB99xFqDak++QSBP8Y82qWcXOYRW+sMWHQj7H59jiMrnnBeRCYdAkQ2mAej+8G k5+rdPsptizeYQZAtHA7PTIQfZqJlf9v4grm+IaUFGHO7ifm0ggyccetlw/oWW5x3S/F xRYCwmJvl5HWyJlcW+y3pxDyM8IZYzTUnUOlbzcF2ADBEuxcyoVlvkEv0ZROmqcOkFAO NJ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783477119; x=1784081919; 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=btHIhnk/8mYIp7/v+TWZyHtP7P2mRJDIzmbnmeSH+4dvjFDawfVeifnunBWm83vXJH hyjyEeNYI8Ufja3J3d1zfw4vZmiZWB3isjbpqif71GWMLyvuky7aQfYBQo/BsCA2z6+U h2eFZQ+fdzL+mLJ3p7kR44ylswZcU8vqjKiqshgvmQBSCrK+wA/vJ7jGxUX3UICV5uEM kmLBlPnpip3dJ51CPRHQq3h/wauhpPLDppi1L2dvciVffzAOsfED8FL4n0Y+vcPd48E9 fU1qV7v4sMELcTzXIlFAttJNhyClKOH1ljT6bIcCd8+wZV4Y5Ay+LLH2vxl2970MGrwl MPMg== X-Gm-Message-State: AOJu0Yw/xxQ+H3LIAPWcwY2J5RxtacBmMyUJ7/pF7vXDXgB2mT3CqdWd lL5QyXcN5ouhcv+OEPuNbCu2yIrVOP4ndFmFE+JAgHStTXz3rAy5ZwOa X-Gm-Gg: AfdE7cmEikvQl8noqfLp2yU6SzogzPDM3NYJNkgn4+jEc2UAFQWeLORkp3fqFGt1Ijt P6XOewy0jmCwNuv+3YQ86XuaauPP59cv2BliOvH5PQ/wDZHUR868oBw86z0zvg2+gyMKomoTjSu VjzpN9VrppGhoQ4mkuSCrWh3PZjLYGjq2ynmyxsuJLCBtnEYGUkruVpPwkgbM81XAxBmktNT/66 Mp2NmUrWcVD7CbijJJY37QLgvQx6MUHugVmvnAFUsPs+1rKPyJIbOlq62/hJUTi5JhmtRjekOw6 U28yCdIgeL9xzpTbKIrSQnN0L1ALdo6eeTSC5sdndBKUVOT938FUZPCpxqloijhcTwNsovUEuz1 78nEVuhptf30FZW5yHxIgQSEwMUEpuSqabHEoYk0GQQHvSSjFmYF/wp4gReNo7iVXqKLg73MSYq EpP1xxiWcmuNLjanDRIyZJ9BZnIALGjxgZ7vONou9xhk0TpIdae+0= X-Received: by 2002:a05:6808:1385:b0:496:301:36b9 with SMTP id 5614622812f47-4a1fea2d9fdmr467296b6e.0.1783477119240; Tue, 07 Jul 2026 19:18:39 -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 5614622812f47-4a1aa006f74sm799975b6e.0.2026.07.07.19.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2026 19:18:38 -0700 (PDT) From: Jim Cromie Date: Tue, 07 Jul 2026 20:18:08 -0600 Subject: [PATCH v6 08/24] 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: <20260707-dd-maint-2-v6-8-381f3edb0045@gmail.com> References: <20260707-dd-maint-2-v6-0-381f3edb0045@gmail.com> In-Reply-To: <20260707-dd-maint-2-v6-0-381f3edb0045@gmail.com> To: Andrew Morton , Jason Baron , Greg Kroah-Hartman , Jonathan Corbet , Shuah Khan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Arnd Bergmann , 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, Jim Cromie , Louis Chauvet X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1783477102; l=1375; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=yfxjNCD2FfV6WQ7UCS9hJEIU3/cj9TtYhccgD7F2GOk=; b=BqO4fRVBObl9QNOP0WewNHKxLyFZjbRWwWNClrxuHOAw7XsQmdRiZGqV/r7Wn3OiYiYYQsKGT PfAkGsNm/bUARzjCeCDIMDx56NqFAFY351zybs4JuMgykY0D7McoJD5 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