Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4821162pxb; Tue, 5 Oct 2021 11:01:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkgzvSuyj4cdha/W8e0F08BbxCjPd7GzRj7SynDuG4GCDO0BnsFx4kPaPrw+qf20Y6CB/2 X-Received: by 2002:a17:906:942:: with SMTP id j2mr27223558ejd.303.1633456867723; Tue, 05 Oct 2021 11:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633456867; cv=none; d=google.com; s=arc-20160816; b=wzNowaOV9XJBcpkivopisNcDtii2hfu1I4/GXe7mrZl7RB1zRULvyaZItpVMXSUeld 54AHqVQR2NhnbeaVtcZR9OzpCwONaux4u/9vSheKqK34Azn+y8SKQif+ocHnWYmOZ6Ee 1ehTuo8rsG0be5T9eh/unkKOMtBObswt2inNoN4I2NKrNKdkvzPuXBw8mebI70KqrBDa ky2gGUKyxEABwAvCzSJxuWYP43uWPOfs9T4WIiu/sAWP+smnwkeRWJyOC4FWddXKzIWs pSMzevDrqLnYRhtFGyt8M6zjhflOYpjhuVRsleyYYmt+J0UL0jxOFbpIfrz2zkkUAfSm 4PGQ== 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=sFzQvfg83Tc2FVskRxXo/ZXmHPeQImKyJi+VR14vIEk=; b=s28+w48QDDUD9bQBDySjaq7UL1RpCiREwnNngml2r93hTGVVXU2y87GWYyRc1blQmD AcGDeSDU3GCRKMnZbENHyxz2RufAKzJYuQk95bnYaQVcN7FowmM/Uj28aHX0EBj+HCov AG1uoT0ZirY+BktaJ/Hlx9NWgtTCZd1575L33+pOZug8OVO0DUZOYh79MOYk+SOwjCHt 8f5uzRoshwE7OZ0fWrVhwONBHnpCiuLli0TCnqDSauglU5t99ISQw3D6LdNHxL2XY7fb HUXbirdb8sca4HgMXA0JTDrCsbIZjbMw0z4RUyX0pYx/B9K4D+s8jfZxLm0NwgmKtx/G xXtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+aNc2Uz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ig2si20716507ejc.323.2021.10.05.11.00.40; Tue, 05 Oct 2021 11:01:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+aNc2Uz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234661AbhJER6v (ORCPT + 99 others); Tue, 5 Oct 2021 13:58:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:36596 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhJER6v (ORCPT ); Tue, 5 Oct 2021 13:58:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 38C9F60F38; Tue, 5 Oct 2021 17:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633456620; bh=iPbB3UPu+IuyklPaQaInQtvh5gtG31PBa6E8q7kPb8s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=m+aNc2Uz5332Vu0/WOYHkoROq2+qS2YMAGAFayyXDRtPPz8HFwlf2+5kb2nWJJIEJ TlDAARA51X9y131pnjed3ghz1b9zr5WLlaFxNXxnHwW4RqIHF4trlcNAK0aDAs1HL4 exG/gdBXuGAh74l6IFSfKH1+hxXXBvfHGcCEphK4xut71/sKCXyrTpbQFa1t8Me85m guaahYBAUg5MmTq4+AL3jkhYFYbnItzzgzerGvSlIjiONM4XffwSpqZVB3pwH5KcWY x3Tdne9tLu7Sp9+5p4DAhYbzHeGRVf4N83sxSrUUhMJ5hTovXiMB5EnExzbWRwPRDV rRaq4V12WGjBA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D1ABA410A1; Tue, 5 Oct 2021 14:56:57 -0300 (-03) Date: Tue, 5 Oct 2021 14:56:57 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: kan.liang@linux.intel.com, linux-kernel@vger.kernel.org, ak@linux.intel.com Subject: Re: [PATCH] perf tests attr: Support Topdown metrics events Message-ID: References: <1633031566-176517-1-git-send-email-kan.liang@linux.intel.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-kernel@vger.kernel.org Em Mon, Oct 04, 2021 at 05:42:56PM +0200, Jiri Olsa escreveu: > On Thu, Sep 30, 2021 at 12:52:46PM -0700, kan.liang@linux.intel.com wrote: > > From: Kan Liang > > > > The Topdown metrics events were added as perf stat default events since > > commit 42641d6f4d15 ("perf stat: Add Topdown metrics events as default > > events"). However, the perf attr tests were not updated accordingly. > > > > The perf attr test fails on the platform which supports Topdown metrics. > > perf test 17 > > 17: Setup struct perf_event_attr :FAILED! > > > > Add Topdown metrics events into perf attr test cases. Make them optional > > since they are only available on newer platforms. > > > > Reported-by: kernel test robot > > Fixes: 42641d6f4d15 ("perf stat: Add Topdown metrics events as default events") > > Signed-off-by: Kan Liang > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo