Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3942697rdg; Wed, 18 Oct 2023 10:07:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvTWFu7q7e+Sj4UQ8Mr0lX0KYXjn1UNJOT1icwBaJ4aRMJzW1g5KksYrp+WfZpXtMeD95d X-Received: by 2002:a05:6a20:54a6:b0:161:aef5:6395 with SMTP id i38-20020a056a2054a600b00161aef56395mr7062541pzk.24.1697648821388; Wed, 18 Oct 2023 10:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697648821; cv=none; d=google.com; s=arc-20160816; b=MTxcOVpk3Y7hXaRUa6ZpoPcdUfnx0xYk2LllW9SnLFLJ3zPK2pRbMM2IqGpUzXb2N3 LNDHWpdYz1IWGe//56KO2wtz31bnYf0yeqCll77hveGn6MGqPhcN8iHpUbzUMvt3k0NI KoGwwM2UEr8bWUR5vG/wg3aVxlCKlH3L9QIenaQnkJes9CIiEVkPpguxR3x6uJ+mslPT CvTQc0CACFtMRsuteTqy8HofyGevX3BBjSURqQNLpA/JON2TcYHFBAL+q56ge6XJy4ej B9Nm5YdqiBAXA7AGnATbbrN6hnatDPWW/tPCGZP7Nk7K+EwlXgWM457DYUmfhZb9EWeb RiSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; fh=dD4hpA3+YqlszWEwFTO+ADczjyhU7P27niWnWgZXhCU=; b=T1+0/+/NXdgTb0pHQ8oW3nLx9Nv2/ViKMyVg27wyvCEaGeXzX4PJgyvaOZjDKAUrcA sPf7WHonqjwlaJx6dAQLywS6igw3ezvrkaVc9lgQRVkZg+ri9CJZ4DLAg2oCVQlm0NPK l7VUXqAAKxH9DX7THjjZmUnFVGFajMSWGDHs0Kope6t8tGUsqjLGT3aShqFRmNg6RHTb Pvsvnp0MAJ3M1Z4RXGSlXpY1qjHUTXc4UEXy6XH7rV6hj2FPjZ5b64W9nWNXtPSKuc3w EK+7heeoMO5fw4N3aEj21h18dRKq3K+jqR+DcdSa617bXw0huYM6dl77CDxyQs067/O/ DDbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g1x+gwyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x4-20020a63db44000000b005b7c7efed1csi2536555pgi.295.2023.10.18.10.07.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 10:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g1x+gwyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EED4080A7E69; Wed, 18 Oct 2023 10:06:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbjJRRGV (ORCPT + 99 others); Wed, 18 Oct 2023 13:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbjJRRGO (ORCPT ); Wed, 18 Oct 2023 13:06:14 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13053B0; Wed, 18 Oct 2023 10:06:13 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-79fd60f40ebso175703339f.1; Wed, 18 Oct 2023 10:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697648772; x=1698253572; 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=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; b=g1x+gwypl/sOzhrG9aYfwnOJiYrVdCbeA/hW+0d2ACEvuFFjBgT9DcJReCu7eOxzi/ 6uGWioFWWyLvRY+/e1Pb7itX3aGT7GX+EIcgiu+7zd4/RuToSDcvdsuTNy0HaaGGl1mF pVfLfsk5/nkf6XPfioQvwsiuWeGF3RTlsI2NYIwnS4CiEgym5wzVsfZHt500PXT7VwtX IgbKCtGANHcPQnJttVuv+qDyuVKJdP1uQcyTfMk+IFvRnuE7sbBDzXf/kvvrVXvBGdGm 3PCEykI2XYb3EVexUO1KsrMYMEd1nV8OVK5QBFqxMJBouvdp/jcHUXw3kaY5T5DoHojC Dh8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697648772; x=1698253572; 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=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; b=emlMniJgINiP6+cLOaaGRvAHWdRZc+6SbYypuqTMpqqBsSrfEXRWfpRqYoyQPtuijo IMoc9cu4kQtL1V3n8ONmhlbx79lVQdKReBWi7cLoNv2V5ILBDqpHi9k43pAUglNe4V82 dyt4ZFfOuC6SdrB2aB90zZQdKgajly/3/uFdUPMHC8qPEkpoeZRiYQNGBP84vkTuMbFg zSelreoXqNC7jP1RXT+jHudu1uWwv5Zb1oByG8IbxwbXSYCgW+OTsG2r2/034Sdovkz8 9I/eWR1RjgJ5fsMZjENQvmrS6CKwMjAhgKnOzlr6KTP7GeGv9CkhjdTgchKqisvDvmvu J1Vw== X-Gm-Message-State: AOJu0Yx5H3c27V87tD3xNfC6kyZo3b64rmbWPMSdqwJb8lY9a4FWRpXE K0KbHzSkrEs+2U87d7VQ18dqc91JoasrLQ== X-Received: by 2002:a05:6602:158d:b0:785:d5d4:9f26 with SMTP id e13-20020a056602158d00b00785d5d49f26mr5816349iow.9.1697648772072; Wed, 18 Oct 2023 10:06: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 n4-20020a5d8244000000b0079fa1a7cd36sm1228944ioo.30.2023.10.18.10.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 10:06:11 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: lb@semihalf.com, linux@rasmusvillemoes.dk, joe@perches.com, mcgrof@kernel.org, daniel.vetter@ffwll.ch, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, rostedt@goodmis.org, linux-doc@vger.kernel.org, Jim Cromie Subject: [PATCH v7c 02/24] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Date: Wed, 18 Oct 2023 11:05:42 -0600 Message-ID: <20231018170604.569042-3-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231018170604.569042-1-jim.cromie@gmail.com> References: <20231018170604.569042-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 10:06:30 -0700 (PDT) This appears in the control-file to report an unknown class-name, which indicates that the class_id is not authorized, and dyndbg will ignore changes to it. Generally, this means that a DYNDBG_CLASSMAP_DEFINE or DYNDBG_CLASSMAP_USE is missing. But the word "unknown" appears in quite a few prdbg formats, so thats a suboptimal search term to find occurrences of the problem. Thus change it to "_UNKNOWN_" which properly shouts the condition. 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 6fba6423cc10..ceb3067a5c83 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1151,7 +1151,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.41.0