From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A995C30F8A for ; Mon, 27 Nov 2023 15:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dyrBq1wK" 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> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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