Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1441794rwb; Fri, 13 Jan 2023 12:20:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXsp/50bEXiNeJPxL5BCFl1MdMxjB9lD4T/olUBGxz6jlVEc3uz4htS7PccYlUyfj9POZxt2 X-Received: by 2002:a17:907:504:b0:84c:a863:ebe6 with SMTP id wj4-20020a170907050400b0084ca863ebe6mr3230239ejb.43.1673641215618; Fri, 13 Jan 2023 12:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673641215; cv=none; d=google.com; s=arc-20160816; b=hMlQ/Q+mBoK/bDTCE5nFJh4tDZCrUH9v7KZ/gbyZ+TbtqY8jJO9Ut7VVAEDbWR2K0S +5YAo5L793ID9BLn3GVccCeCqamvc24qP9eeKzTH774ti7IhGUxxePq5DZdoKLTC21Qx BtO73WLawwYjvaz0E6q/ocy8rTYrpM2SXHZi9DAmyVXlR2W7jTKyZMTzYX49A+oOVGxC Sq5MQi84OcocSpIKdwUnaIDHcnBw+C4DX0LLGltMgJikR6FgeBXxpTBbOWH4FP6ed5xp Efbvup/b2WKO6RqDz2vTpWNwwM7eNujHe9LeYjt5zrlihOH0UydPhGdSyFbLtzQDazcF cj5A== 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:subject:cc:to:from:date :dkim-signature; bh=eLgZVUWASChgrD+Dibxo7WzC9EesPK6jyKbJaeXRECM=; b=KT20T106DvUEofpM6NKKNm9tAIFZSk1TY8awWaqHxx1X7rjdzU77TOq5utHPK2T7Zk 1htMGfR5sf+wFpbtzI72hEabxn9XkKt6y1eF7BJCGsGoBQIKJxCYkp7m4+n/kLwx/OW+ 6yneL5RCPjcSy39YqSOYi0d55Y8DLsCyeqJhP/Qm9bBpweBIVzNJImfAI7I1Bf+TCsHw qGDum4mKteB5QaXUwIA5gXUu5O4afYaiT1qQXJmfxc+hIBdxdbFo47cLn7+JwPMFiu5w E8p+xvJ1baRhnCxKtVBP+jeS839aFVD/mP6qFrpmOvjeAjCOieTvD1ZpGVg6ivoWk93P v7gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ur+Z8glL; 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 dp14-20020a170906c14e00b007c4f6c371a8si1316809ejc.519.2023.01.13.12.20.02; Fri, 13 Jan 2023 12:20:15 -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=@kernel.org header.s=k20201202 header.b=Ur+Z8glL; 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 S229883AbjAMTss (ORCPT + 52 others); Fri, 13 Jan 2023 14:48:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230455AbjAMTsl (ORCPT ); Fri, 13 Jan 2023 14:48:41 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE60149E8; Fri, 13 Jan 2023 11:48:39 -0800 (PST) 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 6E911B821D4; Fri, 13 Jan 2023 19:48:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A91BC433D2; Fri, 13 Jan 2023 19:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673639317; bh=dEa1FyCgbAjv9xYhXVkI/5nSgOJkvHr+IX3k5eDJk5I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ur+Z8glLx18dTQfYrZNs4J8kSLQjukrQNxplQqS564D8K6XPIp/bq5IJuzhk8bYr8 TxnKyT8AP3hootJ6PENoWOb/PCEBOU1pdQRXnHYbIi3wa6qrzzA7N3YgbtR3bNOIjd zO+jguOf3HPjUoKn76zFJEVEJsta8cX7kNRD2jP7KaFrdkmPIKrR+tszuoPvpCsGDD gN+vtJCNaebhzMSU2CXVKb5zUsD9jBDJqHcWISNp/ir1+7kVRqQqPBWfejnq2Ksor7 02LG19UkdAAjBWfcAcWkWk8rK6uwcg0I1t7qMSpj0be7/yxKE3yiMm4+kGYoZbaRtw 9p/y79O8kIHew== Date: Fri, 13 Jan 2023 11:48:35 -0800 From: Jakub Kicinski To: Yunhui Cui Cc: rostedt@goodmis.org, mhiramat@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, kuniyu@amazon.com, xiyou.wangcong@gmail.com, duanxiongchun@bytedance.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, netdev@vger.kernel.org, dust.li@linux.alibaba.com Subject: Re: [PATCH v6] sock: add tracepoint for send recv length Message-ID: <20230113114835.33b7db5c@kernel.org> In-Reply-To: <20230111065930.1494-1-cuiyunhui@bytedance.com> References: <20230111065930.1494-1-cuiyunhui@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 11 Jan 2023 14:59:30 +0800 Yunhui Cui wrote: > Add 2 tracepoints to monitor the tcp/udp traffic > of per process and per cgroup. > > Regarding monitoring the tcp/udp traffic of each process, there are two > existing solutions, the first one is https://www.atoptool.nl/netatop.php. > The second is via kprobe/kretprobe. Applied, thanks!