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 1FC00C25B07 for ; Wed, 10 Aug 2022 13:29:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232689AbiHJN3P (ORCPT ); Wed, 10 Aug 2022 09:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232752AbiHJN24 (ORCPT ); Wed, 10 Aug 2022 09:28:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE81632BA2; Wed, 10 Aug 2022 06:28:55 -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 7B89561472; Wed, 10 Aug 2022 13:28:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B779DC433D6; Wed, 10 Aug 2022 13:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660138134; bh=rTPuHCGz6a2bI7IJ+milWeVAdLUW+haFtoK526dBSDk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PY4WCm7ur+n8Y+kgz1izD5lSiKc6FV8qbzw+Xf6IirOS8EFavLSbLYzswBKs0PrKG LEGN4GCQ2hN0OG5N3frYQHbYF9/9Q8/I2GWVCd5GZomH8oc8q4sC9dokBeebZnVZug Xd8vheVL7qSQKoa3ShKpzcMy6Zf4S9E+1PYiJuKZR/xkA+bYTXMgW00RM+kJK8BGvo 57oXrKWiWLOM9/JtmlEQ4HsN7uNK4JJk2VMG9R8Aq14yA+7+hhtZ/2jqtcFYIBhP+W +iaenPDbMN7bz2X8FjUGfi5UTRxQvK2UMFFqeEIPtfwT6vEzUuKk+VwBcjlqS/fN6X 0e3+OEYuBz1rA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id BF9934035A; Wed, 10 Aug 2022 10:28:52 -0300 (-03) Date: Wed, 10 Aug 2022 10:28:52 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Michael Pratt , Peter Zijlstra , Ingo Molnar , Tejun Heo , Kan Liang , Stephane Eranian , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users , linux-kernel Subject: Re: [PATCH] perf: uapi: fix PERF_RECORD_SAMPLE format documentation Message-ID: References: <20220706210613.1987767-1-mpratt@google.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-perf-users@vger.kernel.org Em Fri, Jul 08, 2022 at 01:38:08PM -0700, Namhyung Kim escreveu: > Hello, > > On Wed, Jul 6, 2022 at 2:06 PM Michael Pratt wrote: > > > > The documented format of PERF_RECORD_SAMPLE does not match the actual > > format emitted by perf_output_sample: > > > > * The cgroup field is missing entirely. > > * The data_page_size and code_page_size fields are output before the aux > > data, but are documented before. > > > > Fixes: 6546b19f95ac ("perf/core: Add PERF_SAMPLE_CGROUP feature") > > Fixes: 8d97e71811aa ("perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE") > > Fixes: 995f088efebe ("perf/core: Add support for PERF_SAMPLE_CODE_PAGE_SIZE") > > Signed-off-by: Michael Pratt > > Acked-by: Namhyung Kim This hasn't been merged yet. - Arnaldo