Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1996023lqe; Tue, 9 Apr 2024 06:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvhsgLAiIqOh4omP3SuSxsj012xvGlF5P+y7Y7Hy53Bsx8WZCqbHsag7vh+9DHlpqsuLIqkX9mcedZOTRpQHrKCkzSW0n9SQ7fpOd2PA== X-Google-Smtp-Source: AGHT+IFBgr/hO92zMG7DrFhg00NU4VlEmDvFtXqa7uHUjyhf3ClGsu8ryevw8GQmVIb859zrFHMq X-Received: by 2002:a05:622a:19a2:b0:432:f697:8a97 with SMTP id u34-20020a05622a19a200b00432f6978a97mr12842399qtc.2.1712671109932; Tue, 09 Apr 2024 06:58:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712671109; cv=pass; d=google.com; s=arc-20160816; b=HANz6S4BzDZ+CyIH8a1jWak7w7PNq7uvs4MeTSgP6dcuFXur6fphotVZVzgSHTLrrb P/FcduewR9lht/WHZFfg34XnDjSa1H+SIXcwTca/QZIYWSwhpXi8jSIzhg7Y64aijdP8 XDqx0IEGdQWJ/mRfHh2++ej8ncvab0dS3rBKSPlFdT0yHWu0v58TP/eNOU172V/AN56D yZ+mFL5X2alQ+Zb4LVJ+2UjU5XwCJbgJYXLQbzVUPegTr2fY86Zd/zchpKH4Q1TcU7Kt BFrT0LQzLJb+5sYzi2hRonjI7YXgh92JuOUlXBt2wMCVMDgF9Lm2Gy0zskUuVOuuV1oV syhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4jrg2gfUM6trex5CzopvbarX6tj+543UnPCwTpVgLmY=; fh=863LOHVcQToEtxJaKPrzqtWGzxDvm/qq2TB/IDSIbdo=; b=che+jqkkcucUwcr1lLuYkxmz9rb8vI2Ow0K2ukn262kp27LHBz8RhejkvVhBymW1WD 2vSFZJNFMQEFnANOJJ/dqdpGo3bVAl3TroiRDJ4u6DJNWPXdJtn8jJuJ6UZVUzyHjwAd it+3ulJ4xFReu+1YxxgZ+BM02VMa15E8rlrL4gG20o3Fh2yXV5ns3XYsu/ygfDce6k6k Gp2GusRAKX8azkHEvvghy1TOET8NterSFh7FYcZ+S7GNFFiceZWwfbJP9CwuhSjEU08B gA4L/qyXBsN+hey5cdzL0jldQ0WbRaaIyNCQwNkgoTs+U3ENK9SCC5jcYHQjfuu9KpGy aqFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ed1/+PuG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l17-20020a05622a051100b004345865ce4dsi10562321qtx.583.2024.04.09.06.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 06:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ed1/+PuG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A591A1C22AA4 for ; Tue, 9 Apr 2024 13:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5B2E12F591; Tue, 9 Apr 2024 13:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ed1/+PuG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C301C129A7B; Tue, 9 Apr 2024 13:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712671101; cv=none; b=dpJ3cDfn3ZHOafWlFG31Es8+ikTok9AZQYRuUJUKZOgcwCfqA7XbZFlN3Evb3OZpzniCmiItdspCg08RUTOEDhhTNbChTjXCaK72zAtxuecQw7actYOBR5br0ssEVy/NG8tHgvlB9DiI4k6MA1O+r+PV6aJxMsWvCzG6M1O/IzI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712671101; c=relaxed/simple; bh=WX7OkY7CVHINe0hCmrN5mpbxfqBRioMt9jnMFYip5ZQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VWewLQy69Hj1vrEDEZpokR+fVoFttG0Cn+A7+2zt5L67m7GoZHWBE3/pUVKXbpiHOpGfGP2ErMj1G65/oeTTTgz6Q50dK2UKgh4l/TN7o8wnpGd3o3Tax2z/H65f9m7J2nb3Rqcc1r/iZxqY4SJiy2JY4PbKXPLJz25ZEXuyQdg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ed1/+PuG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A3D6C433F1; Tue, 9 Apr 2024 13:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712671101; bh=WX7OkY7CVHINe0hCmrN5mpbxfqBRioMt9jnMFYip5ZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ed1/+PuGWgtawyw19WFFuYWcXVi5vFGTNd9Fg5PFDNYdZJLoMZzp6Cpl9Zyv5Fmbj +mcDesp5Hp0VoSS6eVMTJCjeRCEI1megT30lSTJPtgxNBE0pA8gU5tov3ZOolBHj8J ExYuM2dPkofKuqahT/LC+AdOekWbEsGFQRBOjdwQ3Jl0UCKwEu9UL16uOe6Hh03GUG rGEyNN7IYcoFV/Rea+xRdg/S/C/k8IxqDtifSLEJkceJqQSgCYGl0z15boSj8Ia6XL yQdBO09xAwy/c8NnoJ5J7qENf+az1preMr2Ue1KHsNXorodcArQAjfk2DOuL4ja7V/ uRUGbNLqbzJRA== Date: Tue, 9 Apr 2024 10:58:18 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Namhyung Kim , Ian Rogers , Kan Liang , Jiri Olsa , Adrian Hunter , Peter Zijlstra , LKML , linux-perf-users@vger.kernel.org Subject: Re: [PATCHSET 0/9] Sync tools headers with the kernel source Message-ID: References: <20240408185520.1550865-1-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Apr 09, 2024 at 09:40:29AM +0200, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > > > On Mon, Apr 08, 2024 at 11:55:11AM -0700, Namhyung Kim wrote: > > > Hello, > > > > > > I'm gonna carry these changes on the perf tools tree. I'll update the > > > vhost.h once it lands on the mainline. > > > > Humm, maybe its not a good idea to do that this cycle? > > Maybe it's just me, but I've been looking sadly at all the header warnings > for months. :-) Would be better to keep them in sync with a bit higher I backtracked from asking for a delay, the reason for me first thinking about not doing it this time is because in perf-tools-next we have, to be merged for 6.10: ⬢[acme@toolbox perf-tools-next]$ git log --oneline torvalds/master.. | tail f324b73c2c05832b perf beauty: Stop using the copy of uapi/linux/prctl.h c8bfe3fad4f86a02 perf beauty: Move arch/x86/include/asm/irq_vectors.h copy out of the directory used to build perf 7050e33e86ad03d2 perf beauty: Move uapi/sound/asound.h copy out of the directory used to build perf 44512bd6136ec7bb perf beauty: Move uapi/linux/usbdevice_fs.h copy out of the directory used to build perf ab3316119f9d0b3a perf beauty: Move uapi/linux/mount.h copy out of the directory used to build perf 22916d2cbad9a20d perf beauty: Don't include uapi/linux/mount.h, use sys/mount.h instead faf7217a397f041f perf beauty: Move uapi/linux/fs.h copy out of the directory used to build perf 5d8c646038f2f173 perf beauty: Fix dependency of tables using uapi/linux/mount.h 4b3761eebb1c5c1b perf c2c: Fix a punctuation a9f4c6c999008c92 perf trace: Collect sys_nanosleep first argument ⬢[acme@toolbox perf-tools-next]$ The reasoning for these changes is in the csets, for instance: ⬢[acme@toolbox perf-tools-next]$ git show 7050e33e86ad03d2 | head -21 commit 7050e33e86ad03d26d7b969bba1d48ee159be496 Author: Arnaldo Carvalho de Melo Date: Mon Mar 11 17:07:33 2024 -0300 perf beauty: Move uapi/sound/asound.h copy out of the directory used to build perf It is used only to generate string tables, not to build perf, so move it to the tools/perf/trace/beauty/include/ hierarchy, that is used just for scraping. This is a something that should've have happened, as happened with the linux/socket.h scraper, do it now as Ian suggested while doing an audit/refactor session in the headers used by perf. Suggested-by: Ian Rogers Reviewed-by: Ian Rogers Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lore.kernel.org/lkml/CAP-5=fWZVrpRufO4w-S4EcSi9STXcTAN2ERLwTSN7yrSSA-otQ@mail.gmail.com Signed-off-by: Arnaldo Carvalho de Melo ⬢[acme@toolbox perf-tools-next]$ I.e. I had moved some of the stuff that is being updated, but nah, better to have v6.9 tools/perf building without warnings, I'll fixup the merge when I merge perf-tools-next with torvalds/master after the updates are merged upstream. This is sometimes difficult to achieve tho or would require more pull requests to be sent to Linus to get some last minute changes, its not something common, but I think happened a few times. > frequency, IMO - which would reduce the pain and churn rate: > > > > 16 files changed, 809 insertions(+), 740 deletions(-) > > That's like about a year of changes missed? An update once per cycle and > this wouldn't be nearly as painful, right? Humm, I haven't checked if it stays that long without merging, what I've agreed with Namhyung is to wait a bit for things to reach upstream, say -rc3, and then do the update, trying not to do these things nor early not late in the -rc sequence, to pick a sweet spot where most likely no changes will be made, we make the update and the perf build has no warnings in the final release. - Arnaldo