Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp344244ioo; Thu, 26 May 2022 05:06:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwR9UAt5QwdP4lOq1KnUOsLdJU55Kf3qmMFNoCdf2pDKiNp5/X6AQvXq2WvWlRQCG8zDwtR X-Received: by 2002:a17:907:7d94:b0:6ff:1580:4d01 with SMTP id oz20-20020a1709077d9400b006ff15804d01mr6320657ejc.231.1653566791735; Thu, 26 May 2022 05:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653566791; cv=none; d=google.com; s=arc-20160816; b=W8pm7AcpJpPeGVyWe/cAHklXOCb09MadpSxHYb6pPFfj0z7191PMcoTabM+iab0wOU H6u2U78jofB/8aHoygMO7L3sFzBsIcFGQRtT09O3ebxE17VLx1TInXVHsKy2ovJnDm8p kSsTAjc/9VjI2DviDQRd7rYER8CAbSCuOtG93rBBHo/EoTRGtAtAMk3qlkWccw5ThKvd r7RmYkZwB1Iwcy7kX5yJwuc1SPHUpaFxKCOxSyiPXKe4oj0i2rfYxgpKNsuQ9e2KB/Sy Y8pwgTNXni0JIJ8woBJcxcCMOZvBXPWJkDwSMD4DOTV1YXvsfqY8gxg9jWssv6g+T+9X Rslw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EQ9G7WONFn+x9mq7zSMjt2I5c7H8mvNXCvgGoiKdSqs=; b=N6140SZQxZ1J+MwhH71UEtGiSzyX1wKdlIsZFGmlsuJnFe+Qkl6BqsqYACguoSicBu Rm5ysbdN6VMzutgI6X4Fe7m6O0/9/tnaTl09Cy1FW7LaBxqTl37TEeIWu54GLbBBqmKn 1QAsp+so1zYcRleIA1N2eJ9p93BvHuZfA1vFZSX4nP8WZUzdBzIgY/DlQYEUGb/KD3/4 qx21qNNUFxdwiXx7re+H9/iCOv31mAnavaK4fWdjMHmq3B+P5gYwX5HJuUtT3lHzs0QY GPBAEzlJkbCO8VAqAPLMl5xy+XQUElWUjqWVKaaG+zRsPfpdG2Go/bMBq3VvPg+w0FoY ES0g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr14-20020a170907720e00b006fe8b1aa990si1362778ejc.437.2022.05.26.05.06.04; Thu, 26 May 2022 05:06:31 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245222AbiEYPlx (ORCPT + 99 others); Wed, 25 May 2022 11:41:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245209AbiEYPlt (ORCPT ); Wed, 25 May 2022 11:41:49 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 567E32983F; Wed, 25 May 2022 08:41:48 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EBEE71474; Wed, 25 May 2022 08:41:47 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.8.252]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 61F953F73D; Wed, 25 May 2022 08:41:44 -0700 (PDT) From: James Clark To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: broonie@kernel.org, german.gomez@arm.com, leo.yan@linaro.org, mathieu.poirier@linaro.org, john.garry@huawei.com, James Clark , Will Deacon , Mike Leach , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 1/5] perf tools: arm64: Use perf's copy of kernel headers Date: Wed, 25 May 2022 16:41:10 +0100 Message-Id: <20220525154114.718321-2-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220525154114.718321-1-james.clark@arm.com> References: <20220525154114.718321-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fix this include path to use perf's copy of the kernel header rather than the one from the root of the repo. This fixes build errors when only applying the perf tools part of a patchset rather than both sides. Reported-by: German Gomez Signed-off-by: James Clark --- tools/perf/util/libunwind/arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/libunwind/arm64.c b/tools/perf/util/libunwind/arm64.c index 15f60fd09424..014d82159656 100644 --- a/tools/perf/util/libunwind/arm64.c +++ b/tools/perf/util/libunwind/arm64.c @@ -24,7 +24,7 @@ #include "unwind.h" #include "libunwind-aarch64.h" #define perf_event_arm_regs perf_event_arm64_regs -#include <../../../../arch/arm64/include/uapi/asm/perf_regs.h> +#include <../../../arch/arm64/include/uapi/asm/perf_regs.h> #undef perf_event_arm_regs #include "../../arch/arm64/util/unwind-libunwind.c" -- 2.28.0