Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3130152rdh; Mon, 27 Nov 2023 07:08:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUvHgXYjyUJcin5lGBBypH+fzVJfsdyCP9siiUD7MCdQhvoevRdCkFi10kIvY1w7e6SDI8 X-Received: by 2002:a05:6a21:33aa:b0:18b:ef96:be44 with SMTP id yy42-20020a056a2133aa00b0018bef96be44mr12417635pzb.26.1701097686170; Mon, 27 Nov 2023 07:08:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701097686; cv=none; d=google.com; s=arc-20160816; b=t/Uh8DSWACl2ppfiw9+gvMVJEQ06TwHOxWasr2IhKsNqjRne7GNyVUhjJjzY47xfha cikQUMi1jjZHhr5LKQ2D1TxQd5jJRCjGNiSLw7mZoGOi44Q1L3zJBT25BgCMw/Co2JqO jX3c9JTimY7TiOXSPoSQMA5Tiz29pDRquMjvN6gtj8EVMqIZvktoxi7/ZtMXbe4Kzq+M o0zW0VDvG/urJHEX5EM8RLzbAoQkvAy4nCtJz8Fl+GT8DlXXk1Slfn37Ee1ipiitMURq lfMq0SrGIlP7dqBR7wfU0xYE6cx5yLEyF5f4aSGplpt1VifFRmZB36+cm3iRHE29X03j Bqdg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JdpPRquNOM99kZi4/TfvxXCUc+4rjAYqwATIlI3olE8=; fh=/i3R1PMEXLd/16gndBEH+KN66Wz4HBM+ajmrs8iWJXg=; b=Yf7x2TrurnG9dyT92boEiI55I1IQqc6dSiypuFthI1QJSsKMlJlt0YT3OTEUcqyv1g JOgGDjZ2auQx9xFJzcwpgdCfRj49M2UzM6UVglPykEJTwe4En2doaS9fWGbDHtoeBAG1 NCzQsgAdWPblyGjS4szDf8OHdfyEyEN/5bTMacKvRnb+Jk4VQA/2DyYwXfAkmdziXP8J rBMWWctujBYQDOqBrfq2NM1b7o3nVeEznXsAU58kF1fNNr9/D+qDD/BZtiub4VzL1UnU qVD+ddu5+ym8H+VHuJ6tkjh/yQFVQyLBmVpz+fVZ0a9g2SvM76HSy68bTfXyZ2N+BRho I/qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dyrBq1wK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bx18-20020a056a02051200b00578da80ac3dsi11061267pgb.80.2023.11.27.07.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:08:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dyrBq1wK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3CB51809B9C7; Mon, 27 Nov 2023 07:08:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233825AbjK0PHt (ORCPT + 99 others); Mon, 27 Nov 2023 10:07:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233614AbjK0PHs (ORCPT ); Mon, 27 Nov 2023 10:07:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C28E111 for ; Mon, 27 Nov 2023 07:07:54 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0CFCC433C7; Mon, 27 Nov 2023 15:07:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701097674; bh=ZdIXB0ZgEROwUnVRRd+CBLfr1DhIzDP6zKsUGU3ilNo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dyrBq1wKWIspuT1T2STUO+qy0bcVBd9tMyqbNnPungwQQUlcBqVCARYpC/h9L3jGs JuD5XLvYnx8F6mUfYQ1lprQzo1LgvvtHRHKO8xHhH71eAfcM3hUu40p91Zi1Xw+yqa 9fupgekRgdY4u2/h5hhaMbo13yIPZcXzbqgBfQdgWkGnlEQjncIU5mAL9EQvKSgEcW zTqnYMN1dbN0JeYPYGhjwBC3KkaAZrSI0/kNR6giAa9gevm8gk3p3b1+DbFqcmp5TB QQ5Iuc0IDCDEWET1rNKLrEj7sPYQTsIM2emEvaa+eYlg+9LVZzVkbtMxurW0kPRSFl 2sgkhU2i6xnsg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 6269540094; Mon, 27 Nov 2023 12:07:51 -0300 (-03) Date: Mon, 27 Nov 2023 12:07:51 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Thomas Richter , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, svens@linux.ibm.com, gor@linux.ibm.com, sumanthk@linux.ibm.com, hca@linux.ibm.com Subject: Re: [PATCH linux-next] perf report: remove warning on missing raw data for s390 Message-ID: References: <20231122092703.3163191-1-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:08:03 -0800 (PST) Em Wed, Nov 22, 2023 at 06:34:14PM -0800, Namhyung Kim escreveu: > Hello, > > On Wed, Nov 22, 2023 at 1:27 AM Thomas Richter wrote: > > > > Command > > # ./perf report -i /tmp/111 -D > /dev/null > > emits an error message when a sample for event CRYPTO_ALL in the > > perf.data file does not contain any raw data. This is ok. > > Do not trigger this warning when the sample in the perf.data files > > does not contain any raw data at all. > > Check for availability of raw data for all events and return if > > none is available. > > > > Output before: > > # ./perf report -i /tmp/111 -D > /dev/null > > Invalid CRYPTO_ALL raw data encountered > > Invalid CRYPTO_ALL raw data encountered > > Invalid CRYPTO_ALL raw data encountered > > # > > > > Output after: > > # ./perf report -i /tmp/111 -D > /dev/null > > # > > > > Fixes: b539deafbadb ("perf report: Add s390 raw data interpretation for PAI counters") > > Signed-off-by: Thomas Richter > > Acked-by: Sumanth Korikkar > > Acked-by: Namhyung Kim Thanks, applied to perf-tools-next. - Arnaldo