Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbeABTwL (ORCPT + 1 other); Tue, 2 Jan 2018 14:52:11 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:51668 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeABTwK (ORCPT ); Tue, 2 Jan 2018 14:52:10 -0500 Date: Tue, 02 Jan 2018 14:52:08 -0500 (EST) Message-Id: <20180102.145208.2297543449462978661.davem@davemloft.net> To: brendan.d.gregg@gmail.com Cc: laoar.shao@gmail.com, songliubraving@fb.com, marcelo.leitner@gmail.com, rostedt@goodmis.org, bgregg@netflix.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 net-next 2/5] net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tracepoint From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 02 Jan 2018 11:52:09 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Brendan Gregg Date: Tue, 2 Jan 2018 11:46:26 -0800 > If I'm to use sock:inet_sock_set_state for TCP tracing, I'd like > sk->sk_protocol exposed as a tracepoint argument so I can match on > IPPROTO_TCP. Agreed.