Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp452631lqo; Thu, 16 May 2024 10:44:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgjN2S3wwqMjaA9UI0Bdx+7W87ezoMTQu/UtHxhGJR4rSckjBJuhCFe/rz3kWOYzKXu4BOgRokUhi10lbhMZiP3uTrmCyRzSdS3fYulw== X-Google-Smtp-Source: AGHT+IEYGvMJu5vzBt2RgXryB8QTyu5Tlk3D/ASSPyMn4DBuP2+B139lt4wu+0uHE0bbzc97m3ie X-Received: by 2002:a05:6214:5908:b0:6a0:d581:921f with SMTP id 6a1803df08f44-6a168210be5mr229684586d6.42.1715881488966; Thu, 16 May 2024 10:44:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715881488; cv=pass; d=google.com; s=arc-20160816; b=xSDhMEnuFfZaVBTJbfosqVoJXDMEfU6O2ecs/SrvA/iCfVn0DATZrqPs7YbLxgQfOi pGa+XpbGovY9iX8XCPQRKYITnpIqMwvA44hWI3mfn6eNsJn0zn2SVUFXWfEjD3/ivOKm kIffuP3jRiy/Jb/pfrm9W2WYV3FU2TQ09i2SskLMC/RG5QJkUGhOaOocCBHPQUGNq0vw 0SdEnPyFLNNm7nQaE4Rg0E3bD4MMN8Q+EdL3nkDGO5gBoKsBz4d217/G2n7MRR9USkyt QzU6EJxPWH8AAsw22g4fMOoa34gP/MlOWsxQx/kLkPYLcAoJu9BNCdh/MtohWuToPDNr 8IWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=J3jkEN2lvr8AQ7hFLPVcKhBqkSuaqnJkQBzyL1liDm8=; fh=79kupIUHgbTTpoRj6SVKHAdWU/W72rEfwnIjJq++oik=; b=UEFmw7r7TJVTINimTmMeDp5+hOycT9jUOiTHhrbBrT6jYuikYoAKG7S4qh3LPjIHci d2HaH3XWDtIxFIzndOZpJEn3pdjyZ3oGorKX+JRQa1py7xKNMWMYWzQ8QN4/nsXmboLr ACsbJ55CbxKNL0QxsYUCSNhA5g/mwhjzyzjhIKVX0482JaDRtgeCWw9FpDLMHDYlT6Zq c+8Eklw06eGwZvjqZ1eRBSRqjsWZT/P+Vf+lD3EZIDbwPtN0HubGiZP457cIahNyZon+ vyFmxSr95S9TM/H4d9hOETCSq97wnCPMxmxr0wIMQyoHQXO0m1xTUDLtp8/UFWhp0C6b fAxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lBA59cNo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181385-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e057aece8si141300401cf.264.2024.05.16.10.44.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:44:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181385-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lBA59cNo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181385-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F4F41C217C5 for ; Thu, 16 May 2024 17:44:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D889F15746F; Thu, 16 May 2024 17:44:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lBA59cNo" Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (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 AF239156862 for ; Thu, 16 May 2024 17:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715881455; cv=none; b=Izv/2yZv39Pd58HXZCws6DiQvrUCjTID7t29r95xFfpIf6xKy0aqIeiLPfGrcUEZ9b1i9k+1ZOjk+BBlCyz0zIXkhuu1EnS8yqnghdeYk8XEFNdHu03l9HNZ3rx4YbfDUTR6dgLW41UiCrfesZMZjpUh8QKhO/hV2y80pOwXIy4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715881455; c=relaxed/simple; bh=ZXhuDL5iIMt9rsPdhO1mxJVUwD3pwrVShJ9CSDPP6+o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qrbrnIAlmD+ebPcoEbUq11duXq1/tOVRx365ADKVsoUeHWX3He2+FBYX/HWqQ88zw8dlA8MyV5X7KdQ3ge4H/G26fHYEBZgMinacV/6ItSIdyITa5uxTWwfg7cdDpaOfXPEDqRxbQ73QjemIaTYRBFICyOhwaz4iIMbip9Kxj+Y= 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=lBA59cNo; arc=none smtp.client-ip=209.85.166.50 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 Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-7dad81110cfso63435339f.1 for ; Thu, 16 May 2024 10:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715881453; x=1716486253; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J3jkEN2lvr8AQ7hFLPVcKhBqkSuaqnJkQBzyL1liDm8=; b=lBA59cNoe8xrch+z4OskxqlYuFYnxH+KWVubnsrPn6YfLhVOm3spaoM7i5BulfHeNw ZwAiygp2yFdj9iP6mtUVGL75VVGmwJE6ODV21P/8j+z7egZoYby03Kedfnw8skYgreHp w4OmjLeHuQECPmZYaIzrDTIKMQ9EevlKTvKQvAnJWd0DmMexALI5+mBtFyFf+FAsavQo dq8g8iriGUgCTtDZtCfih/fUdQAgx6gH401SZC//Uf+UBvjOiEKu/p3qFV0zlEIpmQqe ZOE6V4LyFDbK1U8wORmi8RxeLfEB2TeEZd3o2PmCgEh018du6UieNG+CwegBHU/noZge KK5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715881453; x=1716486253; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J3jkEN2lvr8AQ7hFLPVcKhBqkSuaqnJkQBzyL1liDm8=; b=c4tQLanNfY1engWsUM2ErAzaIWFuV9/wQJ/C9LTMepJLHxCwOjgfcYsGxAGke4oiaf yCv5DPYW5wR1TXBeiaFZpepHGvUB4l95s/wQ4EjKfU18La0gE/qygQaNc48ioItEOHvz b1hyTLoiZbkbPyYziF2MvQaHVgWziC+1jd2vtwqXtZwtgKo4DUApzBx6UFecNQ+XNvFt OBC1sPAllcY8jAzZTnY6HmK2Pgtt/7pkxUu21fQJG9/5zCe7YM3QkLHlo0gQz04n3qfX NEQ1B5fAa6R0rD8PRLZS1baz1zI2CjaNrlJw8KajvUPMQpYJo5N3hllcoA/Wlw5DMV03 5wyw== X-Forwarded-Encrypted: i=1; AJvYcCU1xAR1fwxdwsCn+gHTiNgqLueFtyIcIRuFWV9AcjoVdbK5ButvfIPP9Dvn3nIQWthwphFcX23rTfzbpAdmmdu5FtgoGFPgM5Z18Mle X-Gm-Message-State: AOJu0YyMgnRLnJva9LHsZt0I8EMUxMfHmy3u8GCABCiddZWylR2SGYEL 8MqBZ1DO8JDo6L3AGoi2YeEPqXUKGpca2OqZouri6Mfkw61bJuVP X-Received: by 2002:a5e:c702:0:b0:7e1:7b55:ad28 with SMTP id ca18e2360f4ac-7e1b51a2218mr2195390139f.3.1715881452835; Thu, 16 May 2024 10:44:12 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id 8926c6da1cb9f-4893715057csm4273595173.80.2024.05.16.10.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:44:11 -0700 (PDT) From: Jim Cromie To: jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: ukaszb@chromium.org, linux@rasmusvillemoes.dk, joe@perches.com, mcgrof@kernel.org, daniel.vetter@ffwll.ch, tvrtko.ursulin@linux.intel.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, Jim Cromie Subject: [PATCH v8-RESEND 03/33] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Date: Thu, 16 May 2024 11:43:27 -0600 Message-ID: <20240516174357.26755-4-jim.cromie@gmail.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240516174357.26755-1-jim.cromie@gmail.com> References: <20240516174357.26755-1-jim.cromie@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit When a dyndbg classname is unknown to a kernel module (as before previous patch), the callsite is un-addressable via >control queries. The control-file displays this condition as "class unknown," currently. That spelling is sub-optimal, so change it to "class:_UNKNOWN_" to loudly announce the erroneous situation, and to make it exceedingly greppable. Signed-off-by: Jim Cromie --- 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 f2c5e7910bb1..73ccf947d4aa 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1154,7 +1154,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_puts(m, "\n"); -- 2.45.0