Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp127030iof; Sun, 5 Jun 2022 23:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1Hswt78NnerzLLzJabmfK+gtZ1CQ4YZwhYGK6x6ScB3zzgEK0PlMfZdvCo7j5HiUvufQg X-Received: by 2002:a63:f645:0:b0:3fc:9ac3:e6ab with SMTP id u5-20020a63f645000000b003fc9ac3e6abmr19747286pgj.309.1654495821979; Sun, 05 Jun 2022 23:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654495821; cv=none; d=google.com; s=arc-20160816; b=u18GasFZgCmWj8pvPRAjw1wYdxUVJ6P4JqdD7nRbtJPCmZ7CHPmeIf1dysYhjvcRSI AiyjeCk96Pzsdh+pDxNZgs7M1yjgStQT5yYImStsGeP9mc4oHnIM5vOMEWHy2g9qRXPy S3ZDwb8m6ja6Pn1cgu/+BnLWs/EgCQVPKn+HQPkDXOlouiTrpEHpTb/L0CEXnIW8Au7L D8TEST3xXpckzCrZZO471zY/ww1F5uekLR/O3nJM6Lsk1hotDix7O/1/6ckhrcw0f4G2 a2aCvX9jB4AQDkzG4rB3C0ynk4WjkLK4b7w7j5Kpzu5phAqRQ82uffxTm997JAIJKaSD 8yMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9HxLJgZtlHlK+K1gWFxW+a6tTn7Jn/932cs76W+wS5Q=; b=ZpPJaALDiY5Ee5lNpFnRMQsm50oi9u0U59AvMHwpKbNcr8cX9pvyxpqpQ8kYbN61Dh V+C7s/jiqA5MYcuTm5MLBwx98mvjDtJV1Vm55ZMknMcRPnl3H+m3lSBMg4AugdPaYNJ0 ReDEdtSx661wEzPUiApSs8TIRtmV1+T2FgXzq9roMMeGWoSHE5JPx/ZvvWO8335oWnUe Ni6Kg6N1OzteniaDXq0rAMTn4Heo8S+5bLLape6SyRcz9W4J9f1+mRHg1226zqEfKKpN COjUaAaF8IxsJ0yijin8Lr+gurT3zZqszADkPiWnjeQlAzodn6XxvYdN+P42WPh59f5P xkFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=gXafYBaz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a056a00178600b004fa3a8e0062si19818053pfg.281.2022.06.05.23.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 23:10:21 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=gXafYBaz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 09F51EF06D; Sun, 5 Jun 2022 22:01:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236011AbiFBSIb (ORCPT + 99 others); Thu, 2 Jun 2022 14:08:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237837AbiFBSIX (ORCPT ); Thu, 2 Jun 2022 14:08:23 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29F6327CF2 for ; Thu, 2 Jun 2022 11:08:22 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id e29so1692665wra.11 for ; Thu, 02 Jun 2022 11:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9HxLJgZtlHlK+K1gWFxW+a6tTn7Jn/932cs76W+wS5Q=; b=gXafYBazVGRnUdC1FD29atbaAVADiZ30i2Q/SVfn9cd8GZ7W0bWCWgy9yYb4jP8Oyu 4hZmNacxn7qtAKDYOAQww+NmI4Hw7kk2P3klC22Jp8JrNyrVrHt6EtB7O+B0nWFZXw2t 5fIy3zrAmE30DcEWfjsDrytlixzdc+lEhAJnTO/Pgu6lScO38ihATUwxB5utWsKxmcX8 jkyCudn18LKGqzX9vJCyCtySxJo8QZeoebRRyDfu0FOin/VmtfLJWRjQtw4RUkHWf1rN TYZtwE+lCZ7vqpVYB7IDg4TLGvhdp0SsFsbGAfyqqC5/sg0GZpc5WFCD1Nh5jaF+2eO4 QKUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9HxLJgZtlHlK+K1gWFxW+a6tTn7Jn/932cs76W+wS5Q=; b=6UkjCflVIIQWpYyCDgprhuDY1W7r7LyUDER6KhmTVdXXd4wPW8938FoU975uQx7MqR kz1ZXOoIe4pvLCnW45dyM7Fjpm2YUWDbiEz9iLAlUnxzNLbFNIGpBfSIlf+3sPeS8o5w V4pkX1VEHjwIGAVAJl4gIIFqx4gF+VSWuvSQtaDJZOqU7gc1rQnaZOdCsnuC3inuZPy9 scF25jgbWzc1gU9Vp0TcvxPpE75o17Yn8zVlqevwdLQ5L+FxMhLzqnm+KmDEtaAyuRUv OAhRZGI3fkgoxmNUCI0/izEHa4L96MeCSE+xOMAp8d51ph+dyZhQhm2H3ZtrcHBur3u8 gf4g== X-Gm-Message-State: AOAM5319obbWtRUz0FaU6oZYfdaaf0C+vpEkZWhEQU0vpgV7y1SwGORb cHylG1AUbDlRnVVXxeai9u66YKyQ2N3Nv3qM9BnY4w== X-Received: by 2002:adf:f5c4:0:b0:210:2ac2:6aa0 with SMTP id k4-20020adff5c4000000b002102ac26aa0mr4671812wrp.300.1654193300494; Thu, 02 Jun 2022 11:08:20 -0700 (PDT) MIME-Version: 1.0 References: <20220525154114.718321-1-james.clark@arm.com> <20220525154114.718321-2-james.clark@arm.com> In-Reply-To: From: Ian Rogers Date: Thu, 2 Jun 2022 11:08:07 -0700 Message-ID: Subject: Re: [PATCH v3 1/5] perf tools: arm64: Use perf's copy of kernel headers To: German Gomez Cc: James Clark , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 Wed, May 25, 2022 at 8:59 AM German Gomez wrote: > > > 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 Acked-by: Ian Rogers Thanks, Ian > > --- > > 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" > >