Message ID | 20221206003424.592078-18-jim.cromie@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2553367wrr; Mon, 5 Dec 2022 16:40:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xwBjTWrRRTo1bqhaZ5+IY4pJJy5vy2YzzKx7kbFcm6FRCdhL6OUIWt9GXPKxzskDbnGqF X-Received: by 2002:a17:906:b241:b0:7bc:1f2c:41b5 with SMTP id ce1-20020a170906b24100b007bc1f2c41b5mr42085097ejb.463.1670287211423; Mon, 05 Dec 2022 16:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670287211; cv=none; d=google.com; s=arc-20160816; b=vSWMf6tFMzbJAY2wwi+iAZTgEXpkj1W/BM1LS7otNKlCjDQHWtSozqiOw7pSHVNUXv 9F0jqyRfYZ1tMPugGy2ljAlTsxZi+Ukvn5Cg8wquCnnmmrw+aiGLyGNWGOtwv7K7y/ob WJZw2g9PUJr4iWRui1Uq659ot9KMyHHmgVllmHgNbz7G7cQyrpGwdfT35rHrx/MNISR2 OzYne7nCX67zPFjv8KVanN1O+P8tE964m3BOgrgINZFrJExUKEP4CKAEzENF3+QdFWHZ zOZx118jatWWHCdenoNswO3zNwBeVuKshkhcGHq63epC1KpK6wkXcUnl0NtoJJUAiMzN 5ZYQ== 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=6+UDrWNXMMGhk9HzOMZBwbh5zjmulDfm2DaVnY/OUhI=; b=Ns4SdIaUUPCiJzE4N7kAWsX2E7eDfoF9tSRhwhpvNSBeEw+++wbuJgla1o/hQuVZdn nefXGcev44le4ZLwHDFeLwcTxt9M23DjYAgZmq3if/xoFrsGLPaNq9gFk1pDzQkkwnMz qnHL2+r4juqHDVAajUTZAQYK8y0kmsSsU1ZUrM9Wysqn6wPGO242Twa56PjK5L+0jupF 4OXNTTXtcnCmqDfpeUliHmeAhogoogmkuPk9SovU0ueijRtTqkWdeO10zyaEzOI80qMz 97K7ZdZCpfFng53TD05tBa8+LkTy2gnXJTdAdH7pASz05Qa7GaVkU5glTNKMmIh4E9uo IsIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eLeE2dj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bh1-20020a170906a0c100b007bfa94543b3si3249509ejb.764.2022.12.05.16.39.46; Mon, 05 Dec 2022 16:40:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eLeE2dj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233536AbiLFAgd (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Mon, 5 Dec 2022 19:36:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233171AbiLFAgA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Dec 2022 19:36:00 -0500 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E93A1EC61 for <linux-kernel@vger.kernel.org>; Mon, 5 Dec 2022 16:35:18 -0800 (PST) Received: by mail-io1-xd34.google.com with SMTP id d123so3305909iof.6 for <linux-kernel@vger.kernel.org>; Mon, 05 Dec 2022 16:35:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=6+UDrWNXMMGhk9HzOMZBwbh5zjmulDfm2DaVnY/OUhI=; b=eLeE2dj14exQeQIr1ko9hCDJKvzZBxL31dknUIIIFaYlxA20UJuCHiOsbgVMQoo33m 2qhDf9Fm5NpvMorwLHW2iBCbaXEhs0Ck79a3jMQjJmVaDNi4k9/rhuIC3/1Gyvv0GbR+ yKtYcRWC+dnl+PUbTvH1i7/GSpRDrUAGqM4zlpfzTJeAvZ4iqQmZ+sVffIQCD0emjCs5 5jm7Evqqm3oba1alb0augbhYBWWBxnrTQhdwTAknsh9m5ifR2ccK3kKdNe2ZYDfzsEMf OIoI0aUK+FFtI09eRSWSEtHRzDt3Cgyic2eQc+OWFGf93/+6XibjSm98FxmBkViMUuO4 H9AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=6+UDrWNXMMGhk9HzOMZBwbh5zjmulDfm2DaVnY/OUhI=; b=eG4T9hG6wQZLj1uev8B91btrhxj22tGirHYZGWarFIMY7/w/rDQ3bi4e48uZm5RMrC YnvuLy9ypItPDZ4sPrSZI50RmzW8LZaTagSUdUYTTx6iEBZpXenbO3r7L16Hi1WkMskR 5mNjjyhNxkzqAMmSR6etQ44wW+c/2WzMkPuOyuHc7N/LR7XQvh8Dm6t6ITq35iNrVwZx l2I93Gro/SQfT8RPQlv8U9OTO4UWMU8xXQJzLwbB2uHm7rRY60iGLiaD6CFgZJbdTx5G 2a5ACo3lLmUSv0jY9ytAQ8So87VT/03kt4rpzQanjLbBT/O5tvqIzLB/AD0Pbsv8RGDB 9Uyw== X-Gm-Message-State: ANoB5pmNPa83o2NiA6zHzzecGeD9MgOCMoC/4yctVnRxQEFsXsIa+j73 sGfKtKQq24LWokR1h3SqAw8cGtFWUy8GBQ== X-Received: by 2002:a02:23ca:0:b0:372:59cb:f242 with SMTP id u193-20020a0223ca000000b0037259cbf242mr39977560jau.135.1670286917295; Mon, 05 Dec 2022 16:35:17 -0800 (PST) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id x3-20020a056602160300b006bba42f7822sm6408213iow.52.2022.12.05.16.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 16:35:16 -0800 (PST) From: Jim Cromie <jim.cromie@gmail.com> To: 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: jani.nikula@intel.com, ville.syrjala@linux.intel.com, daniel.vetter@ffwll.ch, seanpaul@chromium.org, robdclark@gmail.com, jbaron@akamai.com, gregkh@linuxfoundation.org, Jim Cromie <jim.cromie@gmail.com> Subject: [RFC PATCH 17/17] dyndbg: miss-on HACK Date: Mon, 5 Dec 2022 17:34:24 -0700 Message-Id: <20221206003424.592078-18-jim.cromie@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221206003424.592078-1-jim.cromie@gmail.com> References: <20221206003424.592078-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_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751423083064636094?= X-GMAIL-MSGID: =?utf-8?q?1751423083064636094?= |
Series |
DRM_USE_DYNAMIC_DEBUG regression
|
|
Commit Message
Jim Cromie
Dec. 6, 2022, 12:34 a.m. UTC
dont break the loop, to see multiple clients. the 3 client records are differently wrong. --- lib/dynamic_debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 3ef1c0a1f0cd..a26eaa348731 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -629,6 +629,7 @@ static int ddebug_apply_class_bitmap(const struct ddebug_class_param *dcp, v2pr_info("bit_%d: %d matches on class: %s -> 0x%lx\n", bi, ct, map->class_names[bi], *new_bits); } + v2pr_info("applied bitmap: 0x%lx to: 0x%lx\n", *new_bits, *old_bits); return matches; } @@ -1321,8 +1322,8 @@ static void ddebug_attach_client_module_classes(struct ddebug_table *dt, struct */ v2pr_info("break on %d/%d\n", i, di->num_class_refs); dt->num_class_refs = 1; - break; - } + } else + v2pr_info("miss on %d/%d\n", i, di->num_class_refs); } }