Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp867795rdb; Fri, 2 Feb 2024 06:32:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9PuNGjPwNrkr2Os2Jlpqd+y2LeSAgFQwotk9v9wEPaRjr60pItxxElAGT/o5UoctRq8gi X-Received: by 2002:a17:903:2307:b0:1d9:3966:b2a1 with SMTP id d7-20020a170903230700b001d93966b2a1mr7699022plh.1.1706884376418; Fri, 02 Feb 2024 06:32:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706884376; cv=pass; d=google.com; s=arc-20160816; b=x1MjmV6vxAJvgAw+B2m9k3BmD+XZ0St1foZSjuJfFJDJeBYP0G+4Dae/sLK8HJFoz1 pehx0ZGce95dMLfzmLOz4r4H1+SlELHgsHqPjX9+i6BlBUZscKrzdI2mOcL75w66ooFA 9nCHSQzNs9aOMM9EkQ4JCS/QUXNWvRMAsfqigLmao64gYHHVan6hy9JVINPSJCa0q4jO u8FAyCF9KLYuERMBBfTfVMShpya6nisibzT437bi3DPOocETDpi+ZR/gfUCUOucyCOPH iyIcts1LjuhhaljfhGYe4ioTcEp3virrMCyCEtEMjwxRzle/xq9a5CWYQcqjC15ts6jT xamg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=qaV4WXtQiTQkVXt999IFfohsBFuPk9tUIA6ZNtDZzCU=; fh=5VWKVMGrEvn8vsCid4dFT7A3uQSw2LGed1NuHL6gbFg=; b=G+2jHyoKyIeVSUDXjL6wZ/X4hLupM3GcR5+jRwY8kHQc206OEo7KW1r+eDDbOaDFXV NxsJnhG3FpQ7gnTebnq2Ypj0uMG7/hqasr7JEuTZFBZKgRIcE13hig0rXHg2JPfLmshg QhFFRz3LOOBY7n1ga0ssJOIjaAxPTyRK8y/WwodCfeEe9Q9rlOmWUiT+uqgjdtMy+DRv qxLl1L2ciBFEawkkEOQjMqK3ItFvavimGwDzlz9KFWvr63nDBdRp/48EdGWlgq0ZYhpD 0u3VilPh12b8zWGF5d7IwjLNBKbrQsls4xec9bUGmKwS4IVRbh+IKkTdcqMInKyf3Uxr HPuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tQL0iDpE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49953-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49953-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUqtmBLyV4a706HeSXuspEyn5BCBzbcPigumDRvpT/LHbeXLNDXNahoIV0xy64M7K2OIwinpboYtscdRFQBwUmDGP9Ot1NFvj1J5MVwoQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w17-20020a170902d11100b001d91e56ea5esi1754105plw.242.2024.02.02.06.32.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 06:32:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49953-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tQL0iDpE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49953-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49953-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8A2902887B8 for ; Fri, 2 Feb 2024 14:32:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B78E145B05; Fri, 2 Feb 2024 14:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tQL0iDpE" 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 705FE145334; Fri, 2 Feb 2024 14:32:26 +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=1706884346; cv=none; b=B0izVzBsRyh7WK6vd/b1YYyf3f7UbmaV/IiO+U7q7LIInZvA7QzdfE/bmZ7vCdtt2SDNP54bCn5M8N621ZPQDvjzM7QCi7MZeelHkkPtcSdRlSpw6xHsqF616tscp9oQ2BTD47WVgE5HFt2/OG2apiGrJhCm1DeYTUNGx7F+7e8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706884346; c=relaxed/simple; bh=Lmfieud73BcgseATjFSGPCLch3+jpSxrJB6K0BO3xmI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=JjWunds9Z/+Ywbs1ETb6k5elCC6RLT1Qtnnjsu7zzvYw1EFfGN2+CBzVxBXr1oQq9syDVnB9T9qb36ny6WAofE6nHI2GVdftNY8dO69HhjiQz2qpn2e+4UUTNF/DLOwYpGSLtm33Toa0+agt5wpCSRsBbCAHcIeN1YeP95LOTMw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tQL0iDpE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55F7BC433F1; Fri, 2 Feb 2024 14:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706884343; bh=Lmfieud73BcgseATjFSGPCLch3+jpSxrJB6K0BO3xmI=; h=Date:From:To:Cc:Subject:From; b=tQL0iDpEH8IIJNf858ZIKK20QpdNal19Z1ayr5RRTbxI4DDGdJ8+bstfkgab5JgE4 ERNPM6+Gfi3xJinj2D1lvnGd+gzSz3lcUXh8NMjrmTwhu9GpguN6RIADgDMtDoCedt q2tBbwwIxKJy2W0TkEJ2kKGT/NhNEBnqN2aLUXRgGlKpa2bj71jPXo1wGeh52EYG1X R5RYSZhEI4J3yBmYPNx4TJGYU0dHnIGUeXR77fYmNEuptgqgkHJXXU6QiCt3AEjpld gdFYte/Uyho3ZfuGzKsnpgmM5vwQdoEb1HxEUYAKXp4Fj/z/I2MTiMpfN9hhdTgCUD 3nq1Tf2wb7FnA== Date: Fri, 2 Feb 2024 11:32:20 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim , Ian Rogers Cc: Adrian Hunter , Alexander Shishkin , Andrii Nakryiko , bpf@vger.kernel.org, Ingo Molnar , James Clark , Jiri Olsa , Mark Rutland , Peter Zijlstra , Tiezhu Yang , Yang Jihong , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 1/1] perf bpf: Clean up the generated/copied vmlinux.h Message-ID: 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=us-ascii Content-Disposition: inline When building perf with BPF skels we either copy the minimalistic tools/perf/util/bpf_skel/vmlinux/vmlinux.h or use bpftool to generate a vmlinux from BTF, storing the result in $(SKEL_OUT)/vmlinux.h. We need to remove that when doing a 'make -C tools/perf clean', fix it. Fixes: b7a2d774c9c5a9a3 ("perf build: Add ability to build with a generated vmlinux.h") Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Andrii Nakryiko Cc: bpf@vger.kernel.org Cc: Ian Rogers Cc: Ingo Molnar Cc: James Clark Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Tiezhu Yang Cc: Yang Jihong Link: https://lore.kernel.org/lkml/ Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 27e7c478880fdecd..51ac396ed9f641af 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -1157,7 +1157,7 @@ bpf-skel: endif # CONFIG_PERF_BPF_SKEL bpf-skel-clean: - $(call QUIET_CLEAN, bpf-skel) $(RM) -r $(SKEL_TMP_OUT) $(SKELETONS) + $(call QUIET_CLEAN, bpf-skel) $(RM) -r $(SKEL_TMP_OUT) $(SKELETONS) $(SKEL_OUT)/vmlinux.h clean:: $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean $(LIBSYMBOL)-clean $(LIBPERF)-clean arm64-sysreg-defs-clean fixdep-clean python-clean bpf-skel-clean tests-coresight-targets-clean $(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-iostat $(LANG_BINDINGS) -- 2.43.0