Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp113753pxf; Wed, 10 Mar 2021 22:42:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZQdKVtXuHtMzjgS3cHxtCu73+AKlOkFnfzxUEjm8AnAA8E/L8uzuEMVeJ0Imejof5amQO X-Received: by 2002:a50:ef11:: with SMTP id m17mr6899879eds.151.1615444938134; Wed, 10 Mar 2021 22:42:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615444938; cv=none; d=google.com; s=arc-20160816; b=oBer93oankkiMwzbbvQacaxZLxfNZpgPsIDlfz4JP0rNrGE4kwOqdViMYt8nkhe3+L 48eXBDg/UjwvWyAnZiFJ/YAOXkeFzQm1H6sDed3SX7p0g9UmFcmM9gs9kEbtdKGu7yYH b51rG+pyBXFAiFe3lO8F+FXsQIuIe/T3in5UTYn+/YZON0oKXeqFWh7BBQdMUH5kNvUl X9P7mGPYWXfukO7/u9YbG7xoH42cRCQtjSQ0Wrx8A3b22llw8uYNKMRYo6xYaebKstIz X76rzCbTQ6pJDubGM3/Bobq8g/6aHpiEBPPTBqc8ep35Jlnyqc/mwVdRosCPgCKkKBQi 8NFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date; bh=WJPmXxbSrFg7FXw2Nsi+G6rCA7XRqZkhQNGhwlA/dvc=; b=QOAgjLd8zTi1xx5tF9CuEIh0We3+6rkWZe47KcpU+6n7QBeV/2hlvBdkMM/+ZflQ5w OSTTXxSZcaLEIu8xScIzSJyENNoeQpTWp/LpTgoBM1Yq0p4q8+Z009r+1CKTRR6104iL p91w1oa/rSgb+ZbjkvOfFv3XOPkzmBgoVNwqoO8yVMbe4vq+MaGjdoSdU7RNTG4IV7xf 2kTTaHbYIo6U9VTtxqHDj+twlUe+gDnLxi3s9S1qKG2tcQUdGimv1TDq7gMsDRbX9Rkl ep6sXBeBCHHuwpi8cm9wibLzDVewmIsJrgW7GaPkqCsCvJPkwJV5vYh+VkQpB9rkm5pq rMdA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si1356870edc.478.2021.03.10.22.41.56; Wed, 10 Mar 2021 22:42:18 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231157AbhCKGjn (ORCPT + 99 others); Thu, 11 Mar 2021 01:39:43 -0500 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:44503 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbhCKGjV (ORCPT ); Thu, 11 Mar 2021 01:39:21 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=tonylu@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0URPwQhx_1615444758; Received: from localhost(mailfrom:tonylu@linux.alibaba.com fp:SMTPD_---0URPwQhx_1615444758) by smtp.aliyun-inc.com(127.0.0.1); Thu, 11 Mar 2021 14:39:18 +0800 Date: Thu, 11 Mar 2021 14:39:17 +0800 From: Tony Lu To: Steven Rostedt 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: Reply-To: Tony Lu References: <20210309044349.6605-1-tonylu@linux.alibaba.com> <20210309124011.709c6cd3@gandalf.local.home> <20210310113112.743dcf17@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310113112.743dcf17@gandalf.local.home> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 11:31:12AM -0500, Steven Rostedt wrote: > 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. I am going to send a patch to fix this issue later. There are many events have more than 1 holes, I am trying to pick up the events that are really to be fixed. Cheers, Tony Lu > > -- Steve