Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp404915pxf; Wed, 10 Mar 2021 08:33:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFvjvE/IGoOq18BUuTg45mk2Zyqxp/uWjQ/wTfiLoPUKRUMhxke6Y3JrKdbuQz0f9L1kTv X-Received: by 2002:a17:906:1447:: with SMTP id q7mr4719617ejc.27.1615393988928; Wed, 10 Mar 2021 08:33:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615393988; cv=none; d=google.com; s=arc-20160816; b=DMCCbvRRwS4/T/xF9KiNHN9DF8s8WR/4sQGqVoFP0FtSf32LPhRdeE8Zec/rg/BgPN GRM+p2f044dAZPCglwWtdl7GNyuO8imnUHSmNbFhiBE5olXhxuOVaHw1QHveAXDBUBy3 6rZx6Jrv+T0Fhsvc1o/AezPOKx34CsgT/MBxS9ENugA3SYmRwBurVVlotHnryPsMO+ml D6Wri1U8hk3+PwZwZzo9AboOldyg52td9kLjlbK61FBmjTsvX4p7IzfPLMIB+djznD6w sB9C6hJTsboleoOIogcJho8QBEQmx4yiwJXLA/wjI+Dcq+C1AjkN9IJXJJCH5uH9qwmo 6nwQ== 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=alf6//WMq5xRVDmVTHsU3/D5c+rN9suUUpkQNOPsZCs=; b=JeS+9/MtDGy4fI1F9NbLMIlXPIXjRU1DGSHUbmIzzFAsL8G6dO9tNaY130YTYsp9xh gsILLH0WSg+hYaY0gjmWGjV00KEjH9RBxGpvGfCK6QVmqAu198j5JH7zxeg7k6luVOZz L+6l6Bt38nFbUnO9mMdbBoqwuXziTjjufCNcNERx9QtQATXlrS9cLXJblbpYmc37pOof ear/1t6tmefT8i6i0nz8m1l9b4BP38h1qeayUIpRmmpIPy4U2uHgqP7Zc0Z1y3HkQN7A XJSkkbFfkoq5bIWZXWiUwI67f+TcFO0//bByV42IFk1CEZItAoebi9+1IKjJLElvohqX qUJg== 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 i18si12023274ejy.707.2021.03.10.08.32.43; Wed, 10 Mar 2021 08:33:08 -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 S232925AbhCJQbq (ORCPT + 99 others); Wed, 10 Mar 2021 11:31:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:34960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbhCJQbO (ORCPT ); Wed, 10 Mar 2021 11:31:14 -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 C15B764FC4; Wed, 10 Mar 2021 16:31:13 +0000 (UTC) Date: Wed, 10 Mar 2021 11:31:12 -0500 From: Steven Rostedt To: Tony Lu Cc: 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: <20210310113112.743dcf17@gandalf.local.home> In-Reply-To: References: <20210309044349.6605-1-tonylu@linux.alibaba.com> <20210309124011.709c6cd3@gandalf.local.home> 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 Wed, 10 Mar 2021 17:03:40 +0800 Tony Lu wrote: > I use pahole to read vmlinux.o directly with defconfig and > CONFIG_DEBUG_INFO enabled, the result shows 22 structs prefixed with > trace_event_raw_ that have at least one hole. I was thinking of pahole too ;-) But the information can also be captured from the format files with simple scripts as well. And perhaps be more tuned to see if there's actually a fix for them, and ignore reporting it if there is no fix, as all trace events are 4 byte aligned, and if we are off by one, sometimes it doesn't matter. -- Steve