Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1256901rdg; Fri, 13 Oct 2023 15:49:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHriQHT+wyH3Cm8xIzR5jVEo9ouzzNhqt6c15NX+iUHUI3h642hfKEHu6hxRViT1RiWqwvR X-Received: by 2002:a05:6870:1315:b0:1e9:ab99:6b7 with SMTP id 21-20020a056870131500b001e9ab9906b7mr7718588oab.3.1697237363317; Fri, 13 Oct 2023 15:49:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697237363; cv=none; d=google.com; s=arc-20160816; b=emVG/cOR5IOhm1rbgHJGIHG01z/A6OBafM5RwgrowWEh6hOwLXv6Ejzp3rCabP7AoP VInt3BclSF5nvMUuCuk1e7icANjaZiTyLE1b9YgPedMFIqPfW7unolxK6pXcJ32v1e7a wYCrBUtCmwHCfYHeRPqK397wtUB1XzFdn+OrtOrGEC/jZk9713TP9NqThWGpvSzrn78F kmUDUnK92OYPMDnnqCJYVcr+xRQ/nUJ8dCyxHSte+WKPM8JWvTE4dfzfvO7eE6UraodK uW7SmfFIGXa/q2z8Bl/aNTavnjEu1zlGX89pjscv2/5512YxPsg6BmS1B9XaSdlC2ofE XKfA== 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=mLvXeLnsRUQ3/TUrQnBU04ibB7JIWTVa6JOjlgQ9hVM=; fh=z8A2UgI9Ozi/zM+meU3S7fSTeKB52ixSkA1q1cGr6xs=; b=wmM+fKCPiLDaYZObrNk89/w4nsApHaBz5s5tMKQf2LVkkl9XaSuEAlZ8DUg+n3Aoqs O+wKpwnRdBGNBcmQes5vZKxD7JwomcForzY+z/HFOevYwNbuq6YOqHil4kZXmjhf1uKO SHUMIGMY0mOe0zb4sK9WmT/meWO4/KNll/CPucV00CW/iQ5V5A5iHGPMyrmeDCHNVVP8 54RK7R5wOS8U9Q+0crq/iOB1rK01bkl7dMfqdmG/JAg7MOmGuIaCOBXJuP4kTJmc5RiG F/1zJQIY7wBcwgFi3pF1uizSfnDKqpmy7Aik8wlA+ioYZd+3jI0+sjPdaJ8oCjT5hk+J 3oJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T5B3lqmr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id i70-20020a638749000000b00588fa0def2bsi3005787pge.768.2023.10.13.15.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 15:49:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T5B3lqmr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 34DD78343524; Fri, 13 Oct 2023 15:49:22 -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 S232743AbjJMWtS (ORCPT + 99 others); Fri, 13 Oct 2023 18:49:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbjJMWs4 (ORCPT ); Fri, 13 Oct 2023 18:48:56 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF72F112; Fri, 13 Oct 2023 15:48:44 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-35749078a59so9752005ab.3; Fri, 13 Oct 2023 15:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697237324; x=1697842124; 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=mLvXeLnsRUQ3/TUrQnBU04ibB7JIWTVa6JOjlgQ9hVM=; b=T5B3lqmrSz3HZTe4mwtayPTRDvSlo/hmCogGPiFwtaP2aGtwjP3ZPS7+RCLMAApMdj ofBhkukl7aiMtSem0t6IFG63mqkeDcJbBY7U36U9oDSYhWNoTGumFJ79aRqyOFUqeMZk +nPC+sGPgx4VlRFFpHf2ZpJQAlK2K5MDZxofvYq3WmuUmacx94R7ZaFH//+Ya7wULiZw 9zeJnPDzVWAvgLPpbT4JgCI8whf5frl1NkE0adQlGd5NehVzuMHb6+of3IWoR7cj62Wh OJ0gxfz5iENV+HEBctPcfaWoh/ntLx+w8WDlB3HQsBRweMe6Tvr/r0JmE/KvCb1u87z7 axpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697237324; x=1697842124; 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=mLvXeLnsRUQ3/TUrQnBU04ibB7JIWTVa6JOjlgQ9hVM=; b=lLwp0CjFLBN4GNZDffO3JEgMAysqd7+zyR7fIpz+QoPMXbmggVFF8+8tvkPJaQt3ga E9T4TdszuR8LdYY+vqfSwAu8yTluKEqOHZDhg+7S0C6OH+ysomd6gU8k/ruZhddVWE1T sviBwgy1pYU3PAOQ9TtulYli9r/RuGhyqzPMdGzTstxb9SIASnESG19IjlpE3QqBz2no OV0qI1wtdshnfJyT762nI9NJAGkeV+u7gJnzwIuu49zNvSL2QwU6cR+wh/SKVWfdJhOf PNJ/ZxoMQ1s7RPPyKAGlbdJ5p51nfipG2PtoRNjrbKE5EYZTk1GT4+R+K1bJEkr5IrQ4 sr3w== X-Gm-Message-State: AOJu0YytZomtng6sMqYN+UVJTd7HdneaWA6GzfOkvHszgLBxuHFD6LXA 6iQcSGARaLEdFYNkc/bPc1JM9P8xazKk+w== X-Received: by 2002:a92:c56b:0:b0:34f:f5a4:3e68 with SMTP id b11-20020a92c56b000000b0034ff5a43e68mr37534070ilj.30.1697237323880; Fri, 13 Oct 2023 15:48:43 -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 t10-20020a92dc0a000000b003512c3e8809sm1683071iln.71.2023.10.13.15.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 15:48:43 -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, linux-doc@vger.kernel.org, Jim Cromie Subject: [PATCH v7b 12/25] dyndbg: reduce verbose=3 messages in ddebug_add_module Date: Fri, 13 Oct 2023 16:48:04 -0600 Message-ID: <20231013224818.3456409-13-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231013224818.3456409-1-jim.cromie@gmail.com> References: <20231013224818.3456409-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]); Fri, 13 Oct 2023 15:49:22 -0700 (PDT) The fn currently says "add-module", then "skipping" if the module has no prdbgs. Just check 1st and return quietly. no functional change Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 8beb98a831f5..45870a699507 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1242,11 +1242,10 @@ static int ddebug_add_module(struct _ddebug_info *di, const char *modname) { struct ddebug_table *dt; - v3pr_info("add-module: %s.%d sites\n", modname, di->num_descs); - if (!di->num_descs) { - v3pr_info(" skip %s\n", modname); + if (!di->num_descs) return 0; - } + + v3pr_info("add-module: %s %d sites\n", modname, di->num_descs); dt = kzalloc(sizeof(*dt), GFP_KERNEL); if (dt == NULL) { -- 2.41.0