Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp755120rwe; Wed, 31 Aug 2022 10:21:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7VnlP7htMAPJOsY0yu9WYnvD33aYFI7la3XCS5WumPfjfYLA5yyIG9R32kQtLI7hdUfaQv X-Received: by 2002:a63:d10b:0:b0:41d:bd7d:7759 with SMTP id k11-20020a63d10b000000b0041dbd7d7759mr22673839pgg.196.1661966491950; Wed, 31 Aug 2022 10:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661966491; cv=none; d=google.com; s=arc-20160816; b=syjg6a9PJD8B29QPMMdOJ70yp55wmZBDjdNS+lI6ZD4MX8GAoSWnOLwzDNrD888gYy FzNwdqBSeoOwP6GXJ8UG0CQmcZk+jCsDfBEl+TziPBmqFc8YeODBDabnaz3lI1RcC9xp aQ2jC6k0xcMBcMK9P27Gf69KorEZUwTEY3HAtljyRzSaCU8n3yQFx4sEwdbZKs5FxOhg QmUlNek9gq/ZyObad0i1Mk04uAfME6cRK53mySro+bkD/JlQ2CcGVOQBcDVJph3EN85Q j7sW6K3udd09Q89/r9O7bMt3+1aYPFORprCfaU7rOmZBXLHShgX2V8cnGavf+JOTX7Mx /Haw== 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=XTJZABHR/IXI5ztazGOXpmhSOr7A0QsbssSHxEzDo0E=; b=uy1DY5ztAv2+H/WFnMyKFEsB7vAk73jSBvAS/2mkC4tiGteCfuQPNjqLhDEBMAKeTy snrdl7PtL6DzZagEgPCcy6CF7yml0Wn2WE6El7Koslx8ht4AzEvcEuU/lwUdrONHxraU 57krEd2McJIL8Li2/4s4bOLBGVlXLS1vQmm8i+Aod2RHSMOgATTB2u/1VUB0I5QeNWOL +JmgXkgpORIvBV98OamCgSeFUcfBA1uDIS3OVYlZHSKPEM1gjjB6cvHvvbemQtUaWAL9 ffV8FGyELMd00b8gdyhj0lhAl0MkA2v/gIcZHwzxrQRsMppe8u2uBopHTwwv7bkm0MYB gApw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lQgFp1yH; 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 k11-20020aa788cb000000b00536f59ec245si9325243pff.161.2022.08.31.10.21.19; Wed, 31 Aug 2022 10:21:31 -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=lQgFp1yH; 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 S231393AbiHaQXo (ORCPT + 99 others); Wed, 31 Aug 2022 12:23:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232283AbiHaQXm (ORCPT ); Wed, 31 Aug 2022 12:23:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA31FB8F17; Wed, 31 Aug 2022 09:23:41 -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 ams.source.kernel.org (Postfix) with ESMTPS id 86FE6B821E9; Wed, 31 Aug 2022 16:23:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10B16C433C1; Wed, 31 Aug 2022 16:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661963019; bh=s4ZnyYFgcInCvOCjgne4QMp3TXQXWzIDpG5ht9awzQU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lQgFp1yHlNlnmr52zVf/DzIVvIWI8nMKw5/Wd5j9W7VjkldvEz8XUVE2IfSSYRIue Kj+U8w/pytPp+7R+FmScuSmjZ6+upZ0eQJIKHhagz/MkDrH3X6wT3Ea/2+1ZN+dCDH sBCfDAsmofDnQe/5e5LduszeDhL3z++N3aOIpXmV2F7wnCd7n1DtAzkVsJCPQpOC5J Foc6+xstN4S6b6mZPi085eW9j0QJena618nWbqxSX5y/0xxzUBJlaxn9q99GJboKHU v1PWY2fDU2DJRZ6PlpP43ua7vpXNfRNWhSorwoMeOtd/vFXjXb44ixDaCHL9GSiG2x ltmOJMU6K8/uQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 67AB6404A1; Wed, 31 Aug 2022 13:23:36 -0300 (-03) Date: Wed, 31 Aug 2022 13:23:36 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Jiri Olsa , Hongtao Yu , Namhyung Kim , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , linux-perf-users@vger.kernel.org Subject: Re: [PATCH] perf script: Skip dummy event attr check Message-ID: References: <20220831124041.219925-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 Em Wed, Aug 31, 2022 at 09:02:46AM -0700, Ian Rogers escreveu: > On Wed, Aug 31, 2022 at 5:40 AM Jiri Olsa wrote: > > > > Hongtao Yu reported problem when displaying uregs in perf script > > for system wide perf.data: > > > > # perf script -F uregs | head -10 > > Samples for 'dummy:HG' event do not have UREGS attribute set. Cannot print 'uregs' field. > > > > The problem is the extra dummy event added for system wide, > > which does not have proper sample_type setup. > > > > Skipping attr check completely for dummy event as suggested > > by Namhyung, because it does not have any samples anyway. > > > > Reported-by: Hongtao Yu > > Suggested-by: Namhyung Kim > > Signed-off-by: Jiri Olsa > > Acked-by: Ian Rogers Thanks, applied to perf/urgent. - Arnaldo