Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp596065pxb; Thu, 17 Feb 2022 10:24:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2VuuB3lco4cUauOqEql1Oay2++UPISM2BIR4yguhqhMdr8YLp2uqXP88sCid3pECoHmNJ X-Received: by 2002:a17:902:e9c2:b0:14d:5c9e:caf7 with SMTP id 2-20020a170902e9c200b0014d5c9ecaf7mr4032335plk.90.1645122252573; Thu, 17 Feb 2022 10:24:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645122252; cv=none; d=google.com; s=arc-20160816; b=hQVa+JDfxQaTMWqXSVTzHMEjNIQwBVrgU+NZS9Nk+bD612+E0AkoqcBfvohILPKMeK i/ABjFVq/yHW18dJEDdHFwvwm3u78/RqxeNo0VXmKeZdNVsTnIdoboojdvx2Qep6pA7Q D2d1PMmCyA3Vuj0xwOs1MlN83ExIYSURcDww3YXNU4CQGMzd8Yhp/WavtevibXINOMs0 OL1Q4kqPIHoLJkGY5yAur1+yJ8iIRs/CbiKvsoTfi5neSdJKU2PWNjLLYuLeFlXpm5cg OT2Ir0E1ramVKsG0+vEU6BR/6+zzh+PKBN/R6ay7CywHcolmYf/kZRBeaqeirzlUmVqS D5Mg== 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=/iB17natQD1MoZXV2qkvWvbusYAfF8+WZi2MjQWQu/w=; b=PGbozpHXF7dl1y2Qsp5qKFjz7uqOvJVtHXr/GWf7eQbi3G7OeZmXVOKGPC2/InHKIN zNVALlQbMvjcWghZ9n/CxwSYrqWEuYdSyuOzM6UeU3cqpBI/sZaOaW0qLoHO4FDphIWO jor+Jj3u0tZor33u/PA+XDO6BPAlBastXFB0ReE7hJ6kpr6PZyl03cJeyT+piBqYyW12 6mJGyrEKjOmPVaPjjwpZ/GX1reqTyo6zewF4kkRoOzSZXJd+UvVMLFhMCvKH2vnC5UQG tzC1w3p1Kgr9ZAw6ohr9DcwyP2XX+LjvoSrFYBMveVBzRSwFj14aZq9YUvN5PtvKDlYG +Dpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qTiK1jRd; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5si2732443pgs.376.2022.02.17.10.23.56; Thu, 17 Feb 2022 10:24:12 -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=qTiK1jRd; 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 S233157AbiBQDtJ (ORCPT + 99 others); Wed, 16 Feb 2022 22:49:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233064AbiBQDtB (ORCPT ); Wed, 16 Feb 2022 22:49:01 -0500 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DBB8C5DA4 for ; Wed, 16 Feb 2022 19:48:48 -0800 (PST) Received: by mail-io1-xd29.google.com with SMTP id m185so2182884iof.10 for ; Wed, 16 Feb 2022 19:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/iB17natQD1MoZXV2qkvWvbusYAfF8+WZi2MjQWQu/w=; b=qTiK1jRdbDaFcQDx4cC+rxVcCZ8P6wZaDMePsvS5oqxzwhZzFsPen2E3O6rCOSxtiA DessncBQIZpwkAo1jwFHEpBRUQcGQnZT43gcngp/B8U5FSKO0ZddtRZQMM3LjLjHqNep LEoPZz3WvGyMJi1ikGUAIH4vGeMDAnyGlbLgB3iA+hGgK4WwVgbeSDeEHWoEm0NNGq2m jHhdwz8+UoyFVLVXJHDqJsFfBqOWCr4Cio0d+nnldQlSY/xWYMoFTt8VfNNAjwXryYvC IPVepN0QxjTudnVEUuK3Do+0p5JhpLLYNizjiCFkrbRHwAs142s4qaQi3OapvpHue2eI ALRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/iB17natQD1MoZXV2qkvWvbusYAfF8+WZi2MjQWQu/w=; b=CloEuUvyf4SWM/WiOXtFUlUHfWozrnUylveoWQG8YMGHod+xaSYuZE1mxv9L+r1p1O pBgkDOnRdnHX48AqCvGYB9sDuOVU3axuQdvFxFzQE0RFPnzTX6RPT+vSiHR3y9+yGJ8T +VR7NlUXMLTOPiOT3muSuwQchYceGKbew70nVBaYQyLUyfAzifoWTxFZVqAquaYoBNTL yEJR0UDlYheu6mvr1iFTBrymYZ7Fqk7ktuTB7TIOs/b0b3JBIdbf7XJZ4YSzGFsodHYq qGWdT0V3R/5ebSLaO4HDCJ+z3dwqlTXHQg1+mpqg4hx4t8AxfMUzgId9F+DSC4OaOYgu 17TQ== X-Gm-Message-State: AOAM53289sRSLc1yXUSiGz39jb6fCCZVacI55FKJDuJzmbWN/oiE75O7 OhwRywXEJOIt+e+pDZIELPY= X-Received: by 2002:a05:6602:2e87:b0:60e:9b40:cd62 with SMTP id m7-20020a0566022e8700b0060e9b40cd62mr647311iow.204.1645069727595; Wed, 16 Feb 2022 19:48:47 -0800 (PST) Received: from frodo.hsd1.co.comcast.net ([2601:284:8204:2010::1b19]) by smtp.googlemail.com with ESMTPSA id l16sm1127874ilc.54.2022.02.16.19.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 19:48:47 -0800 (PST) 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: daniel.vetter@ffwll.ch, seanpaul@chromium.org, robdclark@gmail.com, linux@rasmusvillemoes.dk, joe@perches.com, Jim Cromie Subject: [PATCH 06/13] dyndbg: abstract dyndbg_site_is_printing Date: Wed, 16 Feb 2022 20:48:22 -0700 Message-Id: <20220217034829.64395-7-jim.cromie@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220217034829.64395-1-jim.cromie@gmail.com> References: <20220217034829.64395-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,T_SCC_BODY_TEXT_LINE 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 Hide flags test in a macro. no functional changes. Signed-off-by: Jim Cromie --- include/linux/dynamic_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h index 664bb83778d2..106065244f73 100644 --- a/include/linux/dynamic_debug.h +++ b/include/linux/dynamic_debug.h @@ -56,7 +56,7 @@ struct _ddebug { #endif } __attribute__((aligned(8))); - +#define dyndbg_site_is_printing(desc) (desc->flags & _DPRINTK_FLAGS_PRINT) #if defined(CONFIG_DYNAMIC_DEBUG_CORE) -- 2.35.1