Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5868008rwb; Mon, 5 Dec 2022 05:18:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Rhz2vbpqmP+rzwhXH6xAc3ahQqJ1t5OMYpqdpb3BPR1U1eT7FM1F2/Ej1X8bvlmrqR+2U X-Received: by 2002:a17:907:9096:b0:7c0:e306:8930 with SMTP id ge22-20020a170907909600b007c0e3068930mr6627574ejb.386.1670246284202; Mon, 05 Dec 2022 05:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670246284; cv=none; d=google.com; s=arc-20160816; b=EnmEOMO/wG8Pb5LkpSAinCMSRxgcRcv/bHQ3OBEX2KB1S+J1qJi9W38v8JMaIqSK/W DeX0LyfMN57AQO+z+YHXi+K9UzEK6gG9ZnIWSs5bbVJA3jarFBJi3rjsjoniiSI0R1j8 qnswp1UrUZfCCzrrmXpumdoxaUQzEgRe+iMczTM55EnlD0rwvKnUxd6swAVBx0s7oRJG h+8mMHN4qpKyXDkSO703fNEEOlOOMKCnWU9LJhWCLdEBrn/qVJk9QryfYkekKJpOvibt qkGbhRcBAdjIEuwRAIr+NXUsl2MPBJoMrMI1cWGAILq4Ffsq9XbiY9/A+jSYp2GjdaL4 E7cQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=st+B252wLTTWaV4UoNk8xXl/Ad5m3OUV0YICRVQ4o+o=; b=kQ1B9HYa1k/LDO4fBN2T88ICltE/4eKnz4Hqo4X4OaoCAid1Ve1OVxDmLA6whWiSYU yFzvIRCnggZdHk44WkBL83tYPnma2LKItYyCWJAB/8fqRLNM1FgMjFO905tOTi3sdFVY tIQ4HWbmiN0sl4UT7/V/gYHX11k1DWqlulUx6SESQus4ALhPUtcK8YXSNTUbMZYgCvNJ RHBG9ukERVNlpiRSojEpSbjcwLLvCblhuYQVqFs/W2ouDu4P/aPxnue21MYPxWFe0Zzm y/5tM/Rdg7ioSVDdRi+G+aLABm7L3sf4DZyKzVq8CgUoe7bOQA08O7uXraHroX8Ki0c3 yn1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GaeUSIDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg4-20020a1709072cc400b007aeec2bf18fsi12716713ejc.543.2022.12.05.05.17.43; Mon, 05 Dec 2022 05:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GaeUSIDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231941AbiLEMuv (ORCPT + 82 others); Mon, 5 Dec 2022 07:50:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbiLEMut (ORCPT ); Mon, 5 Dec 2022 07:50:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 482E217585; Mon, 5 Dec 2022 04:50:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E55566103C; Mon, 5 Dec 2022 12:50:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27E0AC433D6; Mon, 5 Dec 2022 12:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670244647; bh=qf/NfO2N/WqW2ZAtOS02wKfWAQc4h++cVVZ9fzqJa84=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GaeUSIDpPqwpdzLNKCPdj7nuICOGrt1+m6i5rReASNq/bfRSVAVCLQeZfTILJAoTv g20Wu+YlLIym5Uouextf0VdZNsfVYpcpneL1U0pToMEzRNnO0uKfjx3j0VKSZQkEAu F23F6NH+NhYuaJgoGqVdQ0+w3E2TlyRLh66M0CTJSPHt1RRyN0sNqPjwimgKLSAEnC b2otiNYxOxXiIr6MITQVppAKXoTEcqM0D8Wdofys85r90OoS+uuMR5o+8mNxsR3o/2 tT01lZtswgLYsEFGiFWQLLlLnTyEGDHIbyPWH4VSDQadNSYjMbDg466Aybrm+eJFQ4 4qvSbZI3W+8LQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id EFCFE40404; Mon, 5 Dec 2022 09:50:44 -0300 (-03) Date: Mon, 5 Dec 2022 09:50:44 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Josh Poimboeuf , Nathan Chancellor , Nick Desaulniers , Tom Rix , Masahiro Yamada , Nicolas Schier , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev, Stephane Eranian Subject: Re: [PATCH 0/5] Improvements to incremental builds Message-ID: References: <20221202045743.2639466-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221202045743.2639466-1-irogers@google.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Dec 01, 2022 at 08:57:38PM -0800, Ian Rogers escreveu: > Switching to using install_headers caused incremental builds to always > rebuild most targets. This was caused by the headers always being > reinstalled and then getting new timestamps causing dependencies to be > rebuilt. Follow the convention in libbpf where the install targets are > separated and trigger when the target isn't present or is out-of-date. > > Further, fix an issue in the perf build with libpython where > python/perf.so was also regenerated as the target name was incorrect. > > Ian Rogers (5): > tools lib api: Add dependency test to install_headers > tools lib perf: Add dependency test to install_headers > tools lib subcmd: Add dependency test to install_headers > tools lib symbol: Add dependency test to install_headers > perf build: Fix python/perf.so library's name The last one isn't applying: Applying: perf build: Fix python/perf.so library's name error: patch failed: tools/perf/Makefile.perf:642 error: tools/perf/Makefile.perf: patch does not apply Patch failed at 0005 perf build: Fix python/perf.so library's name hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". ⬢[acme@toolbox perf]$ I'll have the first 4 applied to make progress, later I'll check what went wrong and to fix it. - Arnaldo