From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77FA9C433F5 for ; Sun, 21 Nov 2021 14:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238260AbhKUOGC (ORCPT ); Sun, 21 Nov 2021 09:06:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:47276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233010AbhKUOGB (ORCPT ); Sun, 21 Nov 2021 09:06:01 -0500 Received: from rorschach.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 15E6560462; Sun, 21 Nov 2021 14:02:55 +0000 (UTC) Date: Sun, 21 Nov 2021 09:02:53 -0500 From: Steven Rostedt To: Menglong Dong Cc: David Ahern , Jakub Kicinski , David Miller , mingo@redhat.com, Hideaki YOSHIFUJI , dsahern@kernel.org, Menglong Dong , Yuchung Cheng , kuniyu@amazon.co.jp, LKML , netdev Subject: Re: [PATCH v2 net-next 0/2] net: snmp: tracepoint support for snmp Message-ID: <20211121090253.2a3e590f@rorschach.local.home> In-Reply-To: References: <20211118124812.106538-1-imagedong@tencent.com> <67b36bd8-2477-88ac-83a0-35a1eeaf40c9@gmail.com> <9ad07da4-8523-b861-6111-729b8d1d6d57@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Nov 2021 18:47:21 +0800 Menglong Dong wrote: > @Steven What do you think? I think I'm ok with both ideas, as my main target > is to get the reason for the packet drop. As for the idea of > 'kfree_skb_with_reason', I'm just a little worry about if we can accept the > modification it brings in. The use cases of trace events is really up to the subsystem maintainers. I only make sure that the trace events are done properly. So I'm not sure exactly what you are asking me. -- Steve