Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4921273imw; Tue, 19 Jul 2022 16:20:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTeYLQ9LjUyTQWhSvFVDPOxR5ut8nGB2BZ49ZHBsRGApIAFsdzKVVq80OJRD1EBM6zYNQj X-Received: by 2002:aa7:d759:0:b0:43a:6fe3:acb4 with SMTP id a25-20020aa7d759000000b0043a6fe3acb4mr47551219eds.27.1658272805020; Tue, 19 Jul 2022 16:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658272805; cv=none; d=google.com; s=arc-20160816; b=MHjrX+86XQf2JD6bTL2/EMAiuyQxUkkofElkU2H75fQ+FufoFcvk46SSkbgQDYJCHf MhcPF9hf/R9nXIy1nr1ugERIYQKQftD0PwNqWjn3gMYI7Lqc51LjRmkGIvy/LA3Q8kA7 8hM8WozoPKV7ASnnvj5TT5r0/mIh5G4nAQC14d1FIuvCh5iAW+ZQL0uMKvnlwJ7Itao6 nw55fROpvbakpDerowMcXFkKfEckiotrOpgnjCbma5pvPNLUmQLIKx5fOcHaZbcYgp5h pR7MUCuwiJ+wmkLASTTCOVOtQz+feKxd3mg+w+5dFRusXZz+KWTlIXEPfgyQG39letun OCIg== 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=AnXJRMiiW4qqzgDOkSyv9v9twaW1Laj/Qq6TFcSlHVI=; b=SX6GtgwyN3K62WrRwwG2R9xSoroXM4dbjXnbCTVSBTQ/ZRnn6y5NOHXbywCH4/dKgN 9sIyHzQGNXY56MRqYfDC7k3T1kaV314Cu/eCg6agWrkXkHhQq38aV2pByhjC2JgFBp4A Jw5Gczd9WEQXhxxO45nfIQ2FP071EFjWKi5+wKNusp8gu0RQ4ENrI4Su9mzqgoY4/dNF cOkUsyfNC7y2Dc/Cgu0cI6crf6p0QBJGcfeZfWrja9T8lca+rexOzXMxy2snWeZVL/08 nzaFgJ1mbJ0Axozr3LLIBG2Sx5fW4At38EzJ1Efai/X+gC+uP2czPro6UzAxj4Ggd2RI eNPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iau5Oevo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp40-20020a1709073e2800b00722e7756f3dsi25334163ejc.462.2022.07.19.16.19.40; Tue, 19 Jul 2022 16:20:05 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iau5Oevo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240484AbiGSXFW (ORCPT + 99 others); Tue, 19 Jul 2022 19:05:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238999AbiGSXFU (ORCPT ); Tue, 19 Jul 2022 19:05:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 643361D325; Tue, 19 Jul 2022 16:05:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EEA1660B9B; Tue, 19 Jul 2022 23:05:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F1B9C341CA; Tue, 19 Jul 2022 23:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658271917; bh=acpogfiT0Rz/iQDq4kUYuCBJDK04Pn/8AVV/GYIONIg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Iau5OevoPImRiDNlrcokKUTDU9mSp6QAUljMLWgxFSawBStAp7FSFq9DXCjqLGnTw SkqEgNL6CG94b2DEfWA6t1A09Ff1mMX6TOWKYnGs9roz1LHWZjnoKBsJlrNGdc1+Jp W2u2MenzzWMYcLnsslAPfrRkaGGwEwemPQqy0UMIOBPXqu7F6PNDxhDgaw0WjtDPdQ TM/uxEuuMOlE4iLGLkzEz9PSOlc8xJCe3dxzcTTpEm4b1RqWgesbt344W5iLfVT35T R+serKLRKdr/y7LbcvZT3kuSsQykbWPK+L0Vv8PBxrCYOTj+Farr/ALlPPNEotAuje Dy/R68wEIW//w== Received: by mail-vs1-f54.google.com with SMTP id 125so14821524vsx.7; Tue, 19 Jul 2022 16:05:17 -0700 (PDT) X-Gm-Message-State: AJIora/3cUWcPlcsVDoJO+NRAYBG9lUVjZ2AaJuEP4ON6MQcYo5DW/av 2Ejit6wqLhwoDAs/+2smB7f4iIxBXH5bdMHCbw== X-Received: by 2002:a67:c088:0:b0:358:bb1:fdf7 with SMTP id x8-20020a67c088000000b003580bb1fdf7mr1604934vsi.85.1658271916380; Tue, 19 Jul 2022 16:05:16 -0700 (PDT) MIME-Version: 1.0 References: <20220719223946.176299-1-irogers@google.com> <20220719223946.176299-2-irogers@google.com> In-Reply-To: <20220719223946.176299-2-irogers@google.com> From: Rob Herring Date: Tue, 19 Jul 2022 17:05:04 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/3] perf: Align user space counter reading with code To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kajol Jain , Andi Kleen , Adrian Hunter , Anshuman Khandual , "linux-kernel@vger.kernel.org" , linux-perf-users , Stephane Eranian Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Tue, Jul 19, 2022 at 4:39 PM Ian Rogers wrote: > > Align the user space counter reading documentation with the code in > perf_mmap__read_self. Previously the documentation was based on the perf > rdpmc test, but now general purpose code is provided by libperf. > > Signed-off-by: Ian Rogers > --- > include/uapi/linux/perf_event.h | 35 +++++++++++++++++---------- > tools/include/uapi/linux/perf_event.h | 35 +++++++++++++++++---------- > 2 files changed, 44 insertions(+), 26 deletions(-) Reviewed-by: Rob Herring