Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2385886lqp; Sun, 24 Mar 2024 17:06:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgjE3i2cvGe/r3yET7Dt+evuG72e6knZxOq6+p53YCTw+32/N1CSzhMr1T4Dtlyyr6RCKpoIaNAqlk+c3nBdEhF6WuHMMdpkypttQc4w== X-Google-Smtp-Source: AGHT+IEII5yldjkVPWkqLcWwhTFE3iC0HKnCbba9FbdJ2rbVO83vP6Mkt4qnLXVL0utB+eDNqLcU X-Received: by 2002:a17:907:6d0b:b0:a49:7078:582a with SMTP id sa11-20020a1709076d0b00b00a497078582amr1400872ejc.35.1711325218599; Sun, 24 Mar 2024 17:06:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711325218; cv=pass; d=google.com; s=arc-20160816; b=rsLRCjnt0NXBliuUr66Yep2uiAsL1K/31IymVEtVey5hS38t8qXDsUA8luyd8ny3Qv 2Dxut1o5boNTRM68NVcnthG5WnuhpIYHRE0HUNUr9F7F8rAT7zDu70+XqfDJZrE6xIvu zsh3YQz4xZrFtOq7wdonVGp+4CN8rcYW9keML5/tr0MbA9Huc+A/W6F30i7v70zp3ojE qd1AiHnamPxvs9d6bGYGpGYmgX7jx8pydgeobtAfnORRpKl6PRRcduYP7ZrxdcBQ61r5 h1jhOCaNOLTQl9bT5zT1XjMvupnL2/FJ55e6J+G7Em5sdIcw7KJf1++YksrHnHqq4N7m MOKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bWRp2ArEEPnBqcgE0MVGWdMuXWIauydyhfOl2oDgIIg=; fh=q94gdchrwkd0c6GGIMz0bWQuIZWf1RqcRwNiSOlwQOI=; b=Wm2aHb3CHoTA4gfStqyoEAwY2EY8Y2EB+FSsYfPoJ6msGhx6ZMtDNj90t8XO6cfjxd e/egf0CeVYCNy/4CMCnXVAi+NMerLeryoXFXVmnVoGkNdgS82EkBZuGXrgBxr/uV8qPS 9KtrbSUPTG1wQO7r3lyY6kLw++cBDmBdADBLvv+Ih0G2g7JDp36qt3ZI7kSIAePwacw9 UQafLZ7Kvd/JvSrK3dxVC7MXX7Itv2CblDpB9R6Jjm8WnOFuWN/Uyst8HU585BvrzDQq oM52YBSKZQxxbFmr/sOPPdv84qt3RagjO18xPMO57n4zaUibYn3PgAPtXfm8di7Mvibh azmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IS/FMnyy"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c18-20020a1709060fd200b00a46c39976ffsi2061801ejk.500.2024.03.24.17.06.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IS/FMnyy"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113283-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A5C851F25A96 for ; Mon, 25 Mar 2024 00:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AB7513CC73; Sun, 24 Mar 2024 22:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IS/FMnyy" 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 2D37E13CC4F; Sun, 24 Mar 2024 22:41:24 +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=1711320084; cv=none; b=H96ZYyxp9t6vJ2OR3CuVF5z7juqZSJEKJXbbLvPex5m4j8SgAYb+fFnxWbH6in5xWJHYHOHZqsbvdmooaQG61jdWUe6482MsThQcI1sY2jY83vb7xiazZByvwzB/71ESC67A3m7ln0P0nJ/9pzggVOt18b0P9rHRFhI854M91Ss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320084; c=relaxed/simple; bh=Y1cVgr2blchwClVyVWRsQSGFE/EQmsjAViufLUR7hy8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W+CNuIGG9PXZGvRl7yhnGv7jdOBCoB+OvVssigRZcnEPRjWBu2HDXu2Ku0zSiKcgw1Az0V3t7zYFViVR+ASDGety+j9cXXZCsYyOF4/+d7SdxTYIRIGVchPN0hIJ9TzyybfFUyjDDZE6ezGkMYy/e46b0iCg8f8gGorEKN1VeQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IS/FMnyy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B74CAC433F1; Sun, 24 Mar 2024 22:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320084; bh=Y1cVgr2blchwClVyVWRsQSGFE/EQmsjAViufLUR7hy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IS/FMnyyXqlKTOWx80VMkDHs0umfA8mv+cKZgIRKolmys2GDgsurfs7e9oCk4Hw1z qN8vquuK8fEKcjS3uqHGJvEsrSrbaijwLGNuRLR6XLZdGOhQzX+DZ8HzhQXC8Rx9Ul /on49AiUe2QKc2YyG6xCpLjxin7bZzpFqQel/LEZ0285HXQOR1r4QDbCT9lRA4tZMD 2y9cE7gBjkr4TLVnmc1KsdK+xoGa91LAwW54WWWewIKpdP7GtkPbaNxIYLewiPCkLx KoHg/xDGF207duMrDm+lGLRPyMv1wYHI9L62aLf7ws+43LtQw36A+BIOBTUCJnVOop QEbzHEPTzn9uw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Ian Rogers , Andrii Nakryiko , James Clark , Tiezhu Yang , Yang Jihong , bpf@vger.kernel.org, Arnaldo Carvalho de Melo , Namhyung Kim , Sasha Levin Subject: [PATCH 6.8 392/715] perf bpf: Clean up the generated/copied vmlinux.h Date: Sun, 24 Mar 2024 18:29:31 -0400 Message-ID: <20240324223455.1342824-393-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Arnaldo Carvalho de Melo [ Upstream commit ffd856537b95dd65facb4e0c78ca1cb92c2048ff ] 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") Reviewed-by: Ian Rogers Cc: Andrii Nakryiko Cc: James Clark Cc: Tiezhu Yang Cc: Yang Jihong Cc: bpf@vger.kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim Link: https://lore.kernel.org/r/Zbz89KK5wHfZ82jv@x1 Signed-off-by: Sasha Levin --- 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 f8774a9b1377a..116db7874412d 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -1167,7 +1167,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