From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFF32C77B7A for ; Wed, 31 May 2023 15:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234207AbjEaPMR (ORCPT ); Wed, 31 May 2023 11:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231565AbjEaPML (ORCPT ); Wed, 31 May 2023 11:12:11 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F61798 for ; Wed, 31 May 2023 08:12:10 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f4b256a0c9so6717236e87.2 for ; Wed, 31 May 2023 08:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1685545928; x=1688137928; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=M1o4Wjc1Cd+qea3/6BxW++NOPFclyS7iyVbzxq2yJnM=; b=Xsh7wmb56AfkTGFNGfAoURmK0HS6z+XV2ALRtt5RWYeUEPKtRQN0zWKH1+/tWx2ChO GMTXteP2EObzHUyg6W/oBG3Lpr9zCgHEPJpan34MRkH3YHo1Tpg9D0YtIngKFJuBMg5K ukB1YMiBtgIxiccgf/cZWGDjHIzwtdp0XCOrimUjIsQyg1wOZzE81jLMMIl7dLRaGctF uGb/kLmfRNLYi2shrOabraf5t0YD0HnT7diFftFD3pC4v77XXr/91T1h8KLLjTP+rRYf Wc6YWE5/onF4g54mVyMS+rFk+4PkmWayq2iMlKRxZjekGE3HYQBpNA669F7LlnVSJALw Rn5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685545928; x=1688137928; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M1o4Wjc1Cd+qea3/6BxW++NOPFclyS7iyVbzxq2yJnM=; b=SUSjJbHvQnI2T7DT6tES7By2ZNXZ1d+Z95s2vNlXNm8lvJjeXvJvnZVPM5CF81TIIo x9BeoaVqsn4m6MKEZ9uJXu5AqsncjTwDYqWr7UtLZQ7R2Aoa6yuVjWy/GqEyR3tPnwRL mxfYmACiUyarN5LcCBrOiqH2Zlk5kcVbg2n+B2p11HbOD3pqp6R9cZ53syEwjrhIUS+0 Tp0jUXFB0/WwqIjEGkMMULjNbbvS+RsNx4qc4wYSrQbpzWW6ec8R5zTqRnHYcb/0+3Bu X5h3ThkviPWWJSdsgSd7fzPduGyl8yD+EahjQWXHfCgM4ibi8dLfj+NzvaTRVgb60UdI ywpQ== X-Gm-Message-State: AC+VfDxolt2U2MCGRq8IqoylC74hMgHSSiYDaBh1iR3Nw0WWovwMQZ7x bZxpTgLI5Kuq8DrLigxtVpIkgg== X-Google-Smtp-Source: ACHHUZ6HFVOQ+2uUMoZbOvBiq8z2lgUqeyqmyxMd2ASVv3Wpmnk8xG5ixCshIzQtQNpCNFCqlxN6uA== X-Received: by 2002:ac2:518c:0:b0:4f3:baf9:8f8e with SMTP id u12-20020ac2518c000000b004f3baf98f8emr3047811lfi.4.1685545928497; Wed, 31 May 2023 08:12:08 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id u5-20020a05600c00c500b003f0ad8d1c69sm24598389wmm.25.2023.05.31.08.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 08:12:08 -0700 (PDT) Date: Wed, 31 May 2023 17:12:07 +0200 From: Andrew Jones To: Alexandre Ghiti Cc: Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , Will Deacon , Rob Herring , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 09/10] tools: lib: perf: Implement riscv mmap support Message-ID: <20230531-5e82a25977cfe463e4db1cd1@orel> References: <20230512085321.13259-1-alexghiti@rivosinc.com> <20230512085321.13259-10-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512085321.13259-10-alexghiti@rivosinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On Fri, May 12, 2023 at 10:53:20AM +0200, Alexandre Ghiti wrote: > riscv now support mmaping hardware counters so add what's needed to > take advantage of that in libperf. > > Signed-off-by: Alexandre Ghiti > --- > tools/lib/perf/mmap.c | 65 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > Reviewed-by: Andrew Jones