Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp611558rwi; Thu, 13 Oct 2022 02:49:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7IaTP1V/S7VIn1R5/fBCm1sdbvGr7jVsobXmzDlV0xmTVmqoVfGDHBkDWc/yD3k3lsfTH8 X-Received: by 2002:a17:90a:1c1:b0:20a:e745:bc30 with SMTP id 1-20020a17090a01c100b0020ae745bc30mr10551187pjd.131.1665654566223; Thu, 13 Oct 2022 02:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665654566; cv=none; d=google.com; s=arc-20160816; b=VAleHGhadEn57lluyU6DIftL2D1SNPXikBb6F6FD8yfk7x2OUQ+/rPRkryl19VrHrL K1gG+4yXaGu+Ulwe+0wTJMGFRWnpXh2dKBOQkKb8nSaYkV2fY7bRbiokYoZWFAu3BePh Oe7scqzocMuyXWH8AGTT0UA4jN+hG96zsFb31UiJtwnZmPHXwhAXV/nT2j7DoIfchUBD huk3mc2owlUBrBXAtjCJ0HyyYaqLLfTZ88Vbt1deFkyMSNlEUqFPUUslLVEfvAg4JPlW i+fF+zbmbkBC+Z5XoKxG5IzOhcxgNYIAJrXAb99VGE3hwhlQB7daYmn/HjiUHj9o19t9 XyIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+lX7HW/TYfAfJw9isI6m1JgQ9dH2/k73TrZ6UvLDSco=; b=KQY9iYlM6Mb8rC4IOBMabgStLAIr+S2IsDhX9Ca/5p9noZovinHqVtoiCjceKDbg0B PXopAs4clu5JBflAVGOaI6D1erAG7IgvoPp7L+mkd9WOHPeg4cTGC+lrcAaCV/xdMj2E Vs8GfV/V3euB07mzNJnPjgfUelXBSIaqfOKoJ7BAymbBAufOVKLHCB6QzU2TGrhGWTqf wLBTqJNm2qG4CfVvjEa+TI4ydpc1Yfp+Wr10zP9iQt6mMXBDXQ1CjVx7z642FkMznIrI wrPrTcu5InEOTkijVnJLr4Jz7S5DT2aj8sDhxIDgCNxe+6SCs7Gyt8QagcVbTtPDkh1j s9NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyT3rESo; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14-20020a17090340ce00b0017f57787a5dsi18776767pld.223.2022.10.13.02.49.14; Thu, 13 Oct 2022 02:49:26 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=DyT3rESo; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229437AbiJMJnk (ORCPT + 99 others); Thu, 13 Oct 2022 05:43:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbiJMJnh (ORCPT ); Thu, 13 Oct 2022 05:43:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E512014639B; Thu, 13 Oct 2022 02:43:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83396B80DFB; Thu, 13 Oct 2022 09:43:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 876F9C433D6; Thu, 13 Oct 2022 09:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665654214; bh=1Wk/QwX861ZXRIsXyj/MtxL7hcOYvbboclUBxQXQ+gA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DyT3rESoSjtLAbY+trFdqeCZvhvg6UgB4I30nZMMVC/8n87iu+UzlDysgiyQklp5D fEAgah3z2TmDEpR3XQ+rbkxtfxTBekBMELjMkTSjooh95vZgOMJ219/aTe0yevqOud 1XebXGWpc4CfUAHWByVeVdAe89P8FAuU59iaCjh+kJmUt/7/8ET+fxOJZYvNIwSCl1 OSgJfO0R0gdK5XbwVLi2BssbD+1XisSZaiCM2aaLZeWwNQC/IhkcEVz5ebl9mLY9sE RBhA/143ZWa8RyVH8vHK6U2TZfijSGrb9wzX0gS4Z93xlnxvn0ylP1eEydre8KAIlw Kmhwv0RylfF/Q== Date: Thu, 13 Oct 2022 12:43:29 +0300 From: Leon Romanovsky To: Peilin Ye Cc: Eric Dumazet , "David S. Miller" , Hideaki YOSHIFUJI , David Ahern , Jakub Kicinski , Paolo Abeni , Peilin Ye , Cong Wang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v4] net/sock: Introduce trace_sk_data_ready() Message-ID: References: <20221011195856.13691-1-yepeilin.cs@gmail.com> <20221012232121.27374-1-yepeilin.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221012232121.27374-1-yepeilin.cs@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Wed, Oct 12, 2022 at 04:21:21PM -0700, Peilin Ye wrote: > From: Peilin Ye > > As suggested by Cong, introduce a tracepoint for all ->sk_data_ready() > callback implementations. For example: > > <...> > ksoftirqd/0-16 [000] ..s.. 99.784482: sk_data_ready: family=10 protocol=58 func=sock_def_readable > ksoftirqd/0-16 [000] ..s.. 99.784819: sk_data_ready: family=10 protocol=58 func=sock_def_readable > <...> > > Suggested-by: Cong Wang > Signed-off-by: Peilin Ye > --- > changes since v3: > - Avoid using __func__ everywhere (Leon Romanovsky) > - No need to trace iscsi_target_sk_data_ready() (Leon Romanovsky) I meant no need both trace point and debug print and suggested to remove debug print. Thanks