Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp779711pxk; Thu, 3 Sep 2020 12:22:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjKQ3F22n58PIRjSL1X+BHOVYRMzRv7GeaMFXjf8Ppm/ymDm8JBfoPBvcXkKzyKSBcQ1ba X-Received: by 2002:a50:aaca:: with SMTP id r10mr4975784edc.307.1599160922946; Thu, 03 Sep 2020 12:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599160922; cv=none; d=google.com; s=arc-20160816; b=Z6Kn7+FlYBuGbjvG00P8iUS19U0vKoZ7KvXXBE9yQa2+4HT4YiL3MvO8puChrZ2OMz GcAv/4b3J8K+Vb4c4CU62z/R7klhEX7nINgKMTbgzh3QeGeq0M26MgdSj41Uokq2bsUT a+73Tc5InoV4uNhUzNSx3it7pQjwHXRaZotsT6pAD6YiXuRVv7lvOlv2u+mO8dhzcwks dVsrZY22JU2T8E4pehWjdddIxhHEyyggBef3l/k2Z0VmTVVW71NBJwrYdUXYHoFlYxLZ uAdM6Iep55tmZpa3oyMmlJbUphAju1jnsrLfvVXHIh/KQyEp9LcyobAhqDykRjyrtsQw 2QNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ofskdOygUTFeDTk641P8gFInytW98Dn1ToCDRngozWg=; b=rTEDQrpekPKsmq7pipztllUdYZLvFbN+OezLQsCp39GTlT5BVezjBz0iLw7aXF1fg5 iTer3Ye9pO8/uQNJDIvwDpeWU2x2g4nJNpIf74vkTESpNgCVV+M3e02imMIngUgGVgwb vsDJhPdnPhj875hpx8EObLMLcniDxibZqx6FxWhbagcdUl1VmpGliXfGJGfAnr1GNFN5 XIl+q6/PbyQKn9xrnWGuVZDtUGsNdn5J1erb3Za7cFo4u9En2sIca1I5HeEcy4tfdJYs 2nXhB8troNcNDxDycegr5Pc3pTiVwpeC8KhfhuCy8TZjHiycbflkYnij3hfu2/vIQ8sG tDCg== 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 jz19si2868648ejb.241.2020.09.03.12.21.39; Thu, 03 Sep 2020 12:22:02 -0700 (PDT) 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 S1729002AbgICTUl (ORCPT + 99 others); Thu, 3 Sep 2020 15:20:41 -0400 Received: from www62.your-server.de ([213.133.104.62]:52030 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728312AbgICTUl (ORCPT ); Thu, 3 Sep 2020 15:20:41 -0400 Received: from sslproxy06.your-server.de ([78.46.172.3]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1kDumi-0007YF-3R; Thu, 03 Sep 2020 21:20:36 +0200 Received: from [178.196.57.75] (helo=pc-9.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDumh-000DXn-UD; Thu, 03 Sep 2020 21:20:35 +0200 Subject: Re: [PATCH] tools build feature: cleanup feature files on make clean To: Arnaldo Carvalho de Melo , Jesper Dangaard Brouer , Alexei Starovoitov Cc: linux-kernel@vger.kernel.org, Jiri Olsa , bpf@vger.kernel.org References: <159851841661.1072907.13770213104521805592.stgit@firesoul> <20200903190350.GI3495158@kernel.org> From: Daniel Borkmann Message-ID: Date: Thu, 3 Sep 2020 21:20:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200903190350.GI3495158@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.102.4/25919/Thu Sep 3 15:39:22 2020) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, On 9/3/20 9:03 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 27, 2020 at 10:53:36AM +0200, Jesper Dangaard Brouer escreveu: >> The system for "Auto-detecting system features" located under >> tools/build/ are (currently) used by perf, libbpf and bpftool. It can >> contain stalled feature detection files, which are not cleaned up by >> libbpf and bpftool on make clean (side-note: perf tool is correct). >> >> Fix this by making the users invoke the make clean target. >> >> Some details about the changes. The libbpf Makefile already had a >> clean-config target (which seems to be copy-pasted from perf), but this >> target was not "connected" (a make dependency) to clean target. Choose >> not to rename target as someone might be using it. Did change the output >> from "CLEAN config" to "CLEAN feature-detect", to make it more clear >> what happens. > > Since this mostly touches BPF, should it go via the BPF tree? Already applied roughly a week ago: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=661b37cd437ef49cd28444f79b9b0c71ea76e8c8 Thanks, Daniel