Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1257808ioo; Fri, 27 May 2022 05:09:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEclyh+CcdqWcSy6ADPbypKpsmFXc8BHia90k6M86OhULvJfqCwNTG9W9Rz3KzP/1XOZC1 X-Received: by 2002:a63:5565:0:b0:3fa:78b7:55a0 with SMTP id f37-20020a635565000000b003fa78b755a0mr19457691pgm.384.1653653382697; Fri, 27 May 2022 05:09:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653653382; cv=none; d=google.com; s=arc-20160816; b=pGwXeY1ZP0YnZIaI8MZS/X/SqXCAiIdOJria/imr9PBIM3NCSHRNoZ4QgCqgTu0TU7 plVZyHWuKsD5kx2nGqWIGyRruVkebjZXIe4AxeWIzKVo190Z5sWPa38WgeqwlSCYWahA Y0IEvvHHDAF0EgPWJQnpgnShMtpn5TB82OZVh6BDZ4NdOxHncUCsSd8Eb45YPJ9idDD+ paPe1REfaEgKV39XhOYtGamGkAg0K4ZKyU5sPuzLElWHQZ31uU9tGFwksCILLENqSEzd ZW6lLJelnM6oovKff1nikmI2/JLC8FWrXbbZ9rgIpNtPkJdx08CiYQfb2HUzwZlEG8qB sPeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=OuiHGDb9i9ZoSzPf6BPWCV4TFDxw79MHIaYUFya5fKA=; b=sGnASklKWpGIVqHImw8mTz1ldAXmoM8veBMrvdAYZpXIkhuehtPRNHDT0dPjX5oRqI 63Diy64/JKx1NaPneeXoB65/LY8TYfdjXUZe/1pAo0VSL4CJzzfK4MkQiwOafAxoMKQp 3dD0gfXR+y168V4k4ljpOnCqzPXQKzqA5gan5DEkdvLCXp/E6MvpOlzVfttmw6sNa7zb KSCMrfO+egwQeGnPj8hf6JQjKu6sw6zoniXfhg6E0deQWl6LUfiq4PMM8Ef8lRe2RawE /REF2vKeX8XJwHx2VzWc3H7kYvP0qnQ09y+xB6Fgn71TbYPwXKtZZwzq0gQMg1R3APIY hN5A== 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 jj13-20020a170903048d00b001569eedd2dasi4644084plb.408.2022.05.27.05.09.27; Fri, 27 May 2022 05:09:42 -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 S232440AbiEYP7m (ORCPT + 99 others); Wed, 25 May 2022 11:59:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbiEYP7k (ORCPT ); Wed, 25 May 2022 11:59:40 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 590AB6A045; Wed, 25 May 2022 08:59:39 -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 107DD1424; Wed, 25 May 2022 08:59:39 -0700 (PDT) Received: from [10.1.25.169] (e127744.cambridge.arm.com [10.1.25.169]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CD0373F73D; Wed, 25 May 2022 08:59:35 -0700 (PDT) Subject: Re: [PATCH v3 1/5] perf tools: arm64: Use perf's copy of kernel headers To: James Clark , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: broonie@kernel.org, leo.yan@linaro.org, mathieu.poirier@linaro.org, john.garry@huawei.com, Will Deacon , Mike Leach , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org References: <20220525154114.718321-1-james.clark@arm.com> <20220525154114.718321-2-james.clark@arm.com> From: German Gomez Message-ID: Date: Wed, 25 May 2022 16:59:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220525154114.718321-2-james.clark@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 25/05/2022 16:41, James Clark wrote: > 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 Without this change "make -C tools/perf" was failing if kernel-side changes weren't applied Tested-by: German Gomez Thanks, German > --- > 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" >