Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1581745lqa; Mon, 29 Apr 2024 12:33:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0Kjddnn9w29URsLT4jWXJHxMlfP4XQneLWbUDUEElU5PxQA+XIymTJZ6P9FyeDd5PtMuXb9G+i6U3F05FRlE+UdM5p/3+mtdkPDdc4w== X-Google-Smtp-Source: AGHT+IFkaMQAntUD91bR4g3xp1Faru8xwNFKeCcqmvRToDMbDDxnqhDuBuj5GP0bXjYTcOyBbEch X-Received: by 2002:a50:d58e:0:b0:570:388:ee0b with SMTP id v14-20020a50d58e000000b005700388ee0bmr6656697edi.42.1714419183490; Mon, 29 Apr 2024 12:33:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714419183; cv=pass; d=google.com; s=arc-20160816; b=uRYdTDQ0jj+Dh9KOD0wP5wZsTdKTFtpUKiouXf8BtgSL3tc6GTnuqvTnlpgHvs79mp KFG+t4ZRshtgBAsh1oQicRUdeuuy841LCTa8Rfsf47BvZCW5pRIe5tVwb9OsV9b+6Hif Vx1uXeNUQNYtebO/WzhxoaAiudIjetQ0uZSrEGvO9WNGyxvD8Pbr3QTN+FPWxJMjcHgT exgx2dsUtY8gjJbSqsGmeuGxhtexQ/668cB5g1uypakKyFz9zhtAllQbe9d/kRTV5Wkg T5TLo5J98GIXiiXdPObjd/iWt0Lz6go9AS+1znh5VneA57mOk5VDd0I1DmzivsjF/RNY eCiw== 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=nCusk8GKkQWxBikouf75pGq1h+EOpfhpPreu3ro8jhg=; fh=ALQZB5IeKahWNMTZV0OxBLo0Q4dTKMjFRghfGV6IFHA=; b=JLbv/+Dt3/a3GUzU3gmIIbBcWgsNNXRNQdROa0ccdXLmwgsRx9D6eN8Pz4vjn8zyzh mCB2uKz+JFUC6++g0Gw9z6xJmTCVcjk1Xzl1DRggGFpdEA0tpR9XcQ0SVS1D0ZSmK8LC SfdwGw/2DQBm+iLV1ZvhXPQXnQbMQ1y5bEKq7MThlaQxuyKCiH7VqQi8HHvOo3lvN5jr Uix0w1bYbdk3hkkMMN0OBSW17gP5SjL24r3YBT+jOpkn7yTr0ZfjgRnErr5EijI52b9T Of6MBK6p6h7i3Le8FJ5nK2tscIjE/roiXqL0nssrR1Vi9I9HjUVZBc6EAXNYWva8nR+z pe0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Yj8OlTIw; 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-162917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162917-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c8-20020a50d648000000b005727b08830asi2401366edj.677.2024.04.29.12.33.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:33:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Yj8OlTIw; 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-162917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162917-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3C2B61F24977 for ; Mon, 29 Apr 2024 19:33:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7846413C809; Mon, 29 Apr 2024 19:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Yj8OlTIw" Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (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 5A64913C3F9; Mon, 29 Apr 2024 19:32:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419138; cv=none; b=iAqqrno45ZuLe1CpeD8XLCavKEGYOHxI3MAsueDiVgg2kqhZMlZtMHnYxckrGA+QIPCELCT8KrHyYZxsYI8Vz/Z2D5WgfqsCFaiORsd86R9tMvg+WenxKkFvISCte1/0ue6NpvwCLe9RCl0yES1Ps9T3a7YbZEyIoZaO/a2Vswk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419138; c=relaxed/simple; bh=zMFmJJwULaWExvGol+TjNkqMC0083Zqrgkttkhvky2E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pqng6XfY1S3+majH4ptN4I5swKnitvdoJjbbfFDwCAFxP150vaX6S7HtgJlcE9O3mHGSpnbaTYl+tVbjlw3bsa2TZxcPANi4mmykeiXsU5lpKral/KEjwicM3mreMVY8UyIGXUOKzEPv7cZXMNHICFKsyz+fmneSLhhq6Prrkiw= 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=Yj8OlTIw; arc=none smtp.client-ip=209.85.166.44 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-f44.google.com with SMTP id ca18e2360f4ac-7d5db134badso207093539f.2; Mon, 29 Apr 2024 12:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714419136; x=1715023936; 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=nCusk8GKkQWxBikouf75pGq1h+EOpfhpPreu3ro8jhg=; b=Yj8OlTIwxVQ/9W5v1V9r39YKJOmWogRHpw9x7elO6heBT0ZF80YHeL4EJlEHsq2K5P dAifAGRZNOFaGD30WdEHFkRvFlo8Unim9I4tYDB7eqyATGnYfqPCaPXVd7+iL1LjMVvt Rboszt2fU7x40PifZdRLsDCy8niIT4ez1J2WQLzcnvA4TJNdqQC9jJEQu8PjKXixGUux RRZ9pdU3TBZ4yIbmOzPyTkmC4UOo8Y10eneAt1U7JktAmU3Cgy2DwKpDR6hyFiWYdI8u gXY5RKFywUmRxnC31t7PsfY3piAnUcAYcuDkhXmgwCKUaC70vdg5TSAo/NfcQdwgWHwb 8yPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714419136; x=1715023936; 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=nCusk8GKkQWxBikouf75pGq1h+EOpfhpPreu3ro8jhg=; b=F9OeU68SZDZ3/9anFF7h2ZSJXcvC76UVM34gnTZH7/jlw/62VYB2PC0TOD9ZXfytwv HisVGVhIfDr9HKVJYlbjUZw9xfW4T6un2MTe2z7esUk8Gv60CFoDhHF7gilOFG+2J3ym pzAw0ygtPFORYJRW1svwpd0N6upMm5FCqzkKO6oBVHPF6rGjSKyexbHhtvl9IbU3MJkV 2xaUhd+nI3KS9fgvNoLobJW6B+sFeh70E7kgBzVnYHNUwTePPUGwpVX1ELE9FI7cB0a0 wHHxvGmJ3mGq4wILdmASQrg1TwiZilgtwnXXDyxt/H6MwZRTXlQv6SGHcdC+5twYr1hw gtHA== X-Forwarded-Encrypted: i=1; AJvYcCWLMJRa4f/PQ+lv4wLgwaiLXFFghDj9DZF39HPJgPjRSgOCMyuQ+ugOFUc43d8UYgyiAqnxg57Sk5XbroW6rm+dATlx0j0dKd7BDn6PKxiZyaRARBJ2/vfpl1MKRILOa5LevOS0g7nr X-Gm-Message-State: AOJu0Yx1GLnJ6LLq5WXJ3PWoR8FLfauX57hmcxgMcD6ApYFiUTp7Dfay FDyVPc4xBSjbkkOcDDebCZDG6/wsPptf+Qioi437wNBg9vu+Dk9G X-Received: by 2002:a5d:8498:0:b0:7d5:f78f:ab21 with SMTP id t24-20020a5d8498000000b007d5f78fab21mr13368096iom.11.1714419136396; Mon, 29 Apr 2024 12:32:16 -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 dq18-20020a0566021b9200b007d5ec9b77aesm5988402iob.51.2024.04.29.12.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:32:15 -0700 (PDT) From: Jim Cromie To: jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: ukaszb@chromium.org, linux-doc@vger.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 04/35] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Date: Mon, 29 Apr 2024 13:31:14 -0600 Message-ID: <20240429193145.66543-5-jim.cromie@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240429193145.66543-1-jim.cromie@gmail.com> References: <20240429193145.66543-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.44.0