Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2834463pxb; Tue, 9 Mar 2021 12:04:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWDDJI3mAOxf1ynBhtd3etgkBV/XGkpsJXj/FpenBuN7VjgETulLR5417VK+bd4Dekz3P2 X-Received: by 2002:a17:906:229b:: with SMTP id p27mr23031960eja.287.1615320284531; Tue, 09 Mar 2021 12:04:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615320284; cv=none; d=google.com; s=arc-20160816; b=pkF9MpVqyaHzD9l8qKs07m1eUXFPZGdRi1SXR7nBiW9Oy2daxNsV1TI3n2MJuA9GIQ 8FgPj9eqfu5YMQWD0z6cfXFZf2or5h8CR8j5CHhSrscWVpqJXt0olIDrynXv4GNJhJQv eV35xaWAr2yOx5gjFq24Why7si4d7lvn9LvcR60NTiZ5O1RFUkxOb+yzdi0FCpChqAPO kFG+JGEaPtS0uFchZRB4/dFKq+3b7zpFOylo6zqUSeS5q4EmQoMJ9XQ+4fyNvd5WArxR GlBYpSsWDHMeZaQup5oyRUf7z89iCL14KDjCuzyBpx0dS/19zGP1rcCQAYwxYfHf/N57 LC3g== 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; bh=DUlMPV5hX60U4BdIvX20J90cLxkfQChQ80QiOAvOMp8=; b=KJlR2PAphZ7afUCTCOsRyidz8t74p1a9UkY0fXaJjIeO4B+soK6okysxtaMMCSncho m5Pgw5sUCa8s1nkmUdcxIkP9GdPTNx/R/Fi6t+5/s9oLhoHk99iMm+aP+Jst/GUl6AMC HOQZqylDDdOM/NI6YX/9BWhxLjCCYZY06UFdq3/fWjhL5iP8FpK6+ixRqKfOIQnBWFyU 4rOLhfQRfJD4xZVGkBr9c94dFWIyZLkonZXH5lk7IgJWaQ1XkLSsO3Fo7br4zbB10SQu ve7wk3y0zMCfaeekL/nDZFEVZfyjfCXPkkZsNX9hQ7fuE87UcF5HIGtTUdNjFYG4YuHu UaZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si9974539ejv.716.2021.03.09.12.04.21; Tue, 09 Mar 2021 12:04:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231634AbhCIUCq (ORCPT + 99 others); Tue, 9 Mar 2021 15:02:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:48238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230431AbhCIUCb (ORCPT ); Tue, 9 Mar 2021 15:02:31 -0500 Received: from gandalf.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 13CE960C3E; Tue, 9 Mar 2021 20:02:29 +0000 (UTC) Date: Tue, 9 Mar 2021 15:02:27 -0500 From: Steven Rostedt To: David Ahern Cc: Tony Lu , davem@davemloft.net, mingo@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: add net namespace inode for all net_dev events Message-ID: <20210309150227.48281a18@gandalf.local.home> In-Reply-To: <5fda3ef7-d760-df4f-e076-23b635f6c758@gmail.com> References: <20210309044349.6605-1-tonylu@linux.alibaba.com> <20210309124011.709c6cd3@gandalf.local.home> <5fda3ef7-d760-df4f-e076-23b635f6c758@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 Tue, 9 Mar 2021 12:53:37 -0700 David Ahern wrote: > Changing the order of the fields will impact any bpf programs expecting > the existing format I thought bpf programs were not API. And why are they not parsing this information? They have these offsets hard coded???? Why would they do that! The information to extract the data where ever it is has been there from day 1! Way before BPF ever had access to trace events. Please, STOP HARD CODING FIELD OFFSETS!!!! This is why people do not want to use trace points in the first place. Because tools do stupid things. -- Steve