Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1784066pxb; Fri, 10 Sep 2021 13:59:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtq3ZObD8Z7oth9JcjxHC1AU+fXxKDFvunPDADtyrFpGHiOlfUO7nsUghDBHP2ZOC/rHrN X-Received: by 2002:a05:6e02:156a:: with SMTP id k10mr7604540ilu.24.1631307553923; Fri, 10 Sep 2021 13:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631307553; cv=none; d=google.com; s=arc-20160816; b=L1MMUTz0Bi60fTdtRyCDUTDRillBRkv6x0XJrS6Bx2Ovu4L5eq3M0Mg6ZHgHIrZ4n6 iGMFfd/mh/74UjgRH6xOwpfQ+e0qEkJ2WBJwmz68WLRjjKbDS8v+/Pfi72NVigkd/+7n IcMPe9+QMgtq9xK1PlCC9INeGYVNvLEBY9liffmI5FS14qycGH7y25IleMWgYUx77oCO IBqa9FF60wc+2BuOQPR/PAoEp0aBntzicjU/aMxxh2bB1lOeTsbBUhoRiBGsAsC/1CGI nAkKOZ2dY0oCa7gVkUJKHgRK2G3t9CkXODOUmcmdlRd7S6+HWN0y46y53glNqufrMHFH L1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/XV6RjMgP11n/Kh9iGlHHD74EAD8mQNceb794nom5dc=; b=wAhtn2SM/vHFGt9OdtbuHSq7WO/x/W/qI/pGfW9rchKheAqDVMWgcJvK1wF8whoZDD Dv6tZWwaqzR+8rvw3vgAb0BB5U2g0cuGi/s4zbRj3Aw7hmMan1SlCPqNH/WU/uOnu96v vVFXaMuKdzsNZcFo21T9r/QCE//MHG1uhLCoUTU6TKQ72j1SlZqC03uZyQdMTRXKUJ3/ +KcFB4rL4B2/4yZgyIjJxb5kzDrauTYOwxeWCxHPlKcfvSYUFs8HhdrriI71gmWgT62V D9Tvm5QksD7Okq4nj0bU/2XFugtga9t2//2gS6SNMrsXAOZX+fpbaoDNsWFXxIcojQAI 67zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="qX+/WD5P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si5327830iog.114.2021.09.10.13.59.00; Fri, 10 Sep 2021 13:59:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="qX+/WD5P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234089AbhIJU73 (ORCPT + 99 others); Fri, 10 Sep 2021 16:59:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:51072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233736AbhIJU72 (ORCPT ); Fri, 10 Sep 2021 16:59:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 96EEC611B0; Fri, 10 Sep 2021 20:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631307496; bh=l5Ivykoso88H+KKCpsO0QyRS8W6t/eGHvvPwWtnaN3s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qX+/WD5PnnbGQSDV5JYDRBXg8HcRFbghVzE2DCa4VzoVS/HKY/o4mK0+nugQjlTCU hOOrTImtX0M646Rw8NOHLGIMBmFZbbAJUzLu9H4Jy17itwE7Ele908tVOzElRy1Zn/ 58kbdIE2StD31dXxtc95j87MPZEAuVe84Gbd9FIAqSosqxPVD6IX3pVnlOGewMnz+K pZd8ku6odDeW+g93uuK1ch7Ew9w67PS427h8wO6ZByPsco6rQuRUU1EGC2jAtnTYoq kum5YheM4egBejhAY6UOnTf2RD+LO9yDzSyFAfLcyk+48EG+ONvdvNedctkS5apERU zi14m7tLn+7/w== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 2799E4038F; Fri, 10 Sep 2021 17:58:14 -0300 (-03) Date: Fri, 10 Sep 2021 17:58:14 -0300 From: Arnaldo Carvalho de Melo To: Kim Phillips Cc: Arnaldo Carvalho de Melo , Alexander Shishkin , Boris Ostrovsky , Ian Rogers , Ingo Molnar , Jiri Olsa , Joao Martins , Konrad Rzeszutek Wilk , Mark Rutland , Michael Petlan , Namhyung Kim , Peter Zijlstra , Robert Richter , Stephane Eranian , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: Another bug: Re: [PATCH 0/3] perf report: Add support to print a textual representation of IBS raw sample data Message-ID: References: <20210817221509.88391-1-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Sep 10, 2021 at 04:48:42PM -0300, Arnaldo Carvalho de Melo escreveu: > > All the cross builds are failing: > > 28 9.20 debian:experimental-x-arm64 : FAIL gcc version 10.2.1 20210110 (Debian 10.2.1-6) > util/amd-sample-raw.c:12:10: fatal error: asm/amd-ibs.h: No such file or directory > 12 | #include > | ^~~~~~~~~~~~~~~ > compilation terminated. Trying with the same trick used by intel-pt to build on all arches: diff --git a/tools/perf/util/amd-sample-raw.c b/tools/perf/util/amd-sample-raw.c index fbb7d61c50489374..d19d765195c54b79 100644 --- a/tools/perf/util/amd-sample-raw.c +++ b/tools/perf/util/amd-sample-raw.c @@ -9,7 +9,7 @@ #include #include -#include +#include "../../arch/x86/include/asm/amd-ibs.h" #include "debug.h" #include "session.h"