Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp783067pxk; Thu, 3 Sep 2020 12:27:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4FmZTLwlYQ3j1zGpOpIkeo2S7V8O3Hvor2Fa1nc0H42IanDruuQ7htCHW2t2iv0iyVRy4 X-Received: by 2002:aa7:c985:: with SMTP id c5mr4897132edt.355.1599161270494; Thu, 03 Sep 2020 12:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599161270; cv=none; d=google.com; s=arc-20160816; b=Ezh4te3LKz+pnVWMmoOiLtoucYMxk4XsWgq02pDKvA/8m2nm33OgXkoDOcAzVfNiLK gGH2ubUlUraVaHuqu0GY8XpJndue1eIgPV42A35N4Pv+AtkG3N9ibG37LLeK5j6O71BC Bwo2Z7HRbiUw5+hLmSoqd6/pRx0ucGI5+rG9pkIISrIlGXxqxkvEAaUnz6piP0OlHry1 cJlezThuZOhsNSbVASuyAY/wJ5EyOhS2EbxYtQ8FDUnRRCvN4VZiI1JomWC4hrnq96gn 5aIgYE3sUYsB6eO43VT/r3rL7pU6Hyldbuy/otS3iMNEnuONlipwtoc/Td6sVEHuDr9X 9Uig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=oX4XlkzDdlcA59HsZyKMyBobPjsHbkDbWSj2spGLIjg=; b=RTU1pId3ApF1YN+ssU76fBzcdAbPGMbpB4ipBcxf6pYVz8UaPdD+JqUpwXLWAnPqg+ JzA5uQpe9QvlOyq9h7UmvyzIyC1KZlhSbvTEf2RtysUzVxI7RnUKsttnPcVudWF31Sem ldrYAhN/PlTMyRroSaZtwsFqUX2AjyAuWBKqIBwWDd/uvO/5PPM04Q12RdQKPVZRtFdo EOUEhnb/8Er5hA+yxkm1dCR54uyrlMpiGvjMQ/SblepNNJPybIZUVIqoflI8hPpqGy8U scRP0bzwfmX8ZrAUOmCWAR58fCFSkfJlUBTKFSVjFpDlX8+yDHCOvGuDx/saDyVDKDy1 eI+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gpv1Qom+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si15si2512327ejb.246.2020.09.03.12.27.27; Thu, 03 Sep 2020 12:27:50 -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; dkim=pass header.i=@kernel.org header.s=default header.b=gpv1Qom+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728850AbgICT0s (ORCPT + 99 others); Thu, 3 Sep 2020 15:26:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:40640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728304AbgICT0s (ORCPT ); Thu, 3 Sep 2020 15:26:48 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (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 03550206EF; Thu, 3 Sep 2020 19:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599161208; bh=yS2vWoQBhhf3QSRyhF5rOIpprqbVA5TZG9bHqKjsrgk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gpv1Qom+eMOgbXkpyj98wtFG3rFjKT/tP+A7ClmDHCZJfEaEunHQ/E685AF4Uigt7 uqQ42Ym9QmxcIyL5ZtDkKJTtIWrktP27m8a+J9RWfO1crXnKn9d2wxoj7Xe+M/Q6rH Gx5ffmPf64zWSy3Ci7H9R03KCahXxiqgcsNZPPUo= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id B80E340D3D; Thu, 3 Sep 2020 16:26:44 -0300 (-03) Date: Thu, 3 Sep 2020 16:26:44 -0300 From: Arnaldo Carvalho de Melo To: Daniel Borkmann Cc: Jesper Dangaard Brouer , Alexei Starovoitov , linux-kernel@vger.kernel.org, Jiri Olsa , bpf@vger.kernel.org Subject: Re: [PATCH] tools build feature: cleanup feature files on make clean Message-ID: <20200903192644.GK3495158@kernel.org> References: <159851841661.1072907.13770213104521805592.stgit@firesoul> <20200903190350.GI3495158@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Sep 03, 2020 at 09:20:35PM +0200, Daniel Borkmann escreveu: > 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! - Arnaldo