Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3178826pxv; Mon, 12 Jul 2021 11:08:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJjRsTDZ1dJvfrQhjqrMHy5lL3I83RL/NxNsBJIVH6LDJ9zC2/c6CLAf6FYz3g41DX47Qn X-Received: by 2002:a5d:9681:: with SMTP id m1mr139762ion.113.1626113329172; Mon, 12 Jul 2021 11:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626113329; cv=none; d=google.com; s=arc-20160816; b=VjmI2arrwznuqWGWu9eD1FpcqAlSarArl1g0wzbb43twwhwjUHen+WHrM+uFeKk2c6 7eGlGGUXHK8wihnBgVB3xNgy8UPcLcfuBeDHvCWPmqlrFuDVnxH5DjZ5DNgkh//w3CeU y7o1IYVDtHcrcCjdvrd6p4pHqPiqA445np/Ap18DUGz4dhGUavGeBSZITDkqBU/bK+xt TwdU/TIuvV0Jj5antDMCjMVdHipV35EtzcMBPDz0RAB0yML5sEL+TVgBRtoFvWHOr3tr 8JgHyTZWNDP2Z0ZKEz6CWLfPaFRWygbXZBfgxV+w23yDTvWrLhoN+39MGxhsAUeIShR2 45dw== 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=LQoCBbO4vWJ8kbzlNl4u9NFQ4yVkv8ut8urtv0dl1bw=; b=qK2ODw86Pm6MjspFJOuw0sTz4O1SsyS5w48LiFbSh3O4c9MoZHiuf44umHKJsalRZm OgKOuV4o7f9oYKi558GRsLipxcm+75XyDcOYiZ9iQek4pwrkPfbglu0Eh86/O/LORpf2 rjYuubTc7y16XSVOmEKhfePG2fSOW47pqHnH9cq1dTHPVfd8T5E2wDtcp9UYxStymBVH zvEGzFAwq6x61v7tT+AZhyrS3rMI5m0rAdZ7P00YadwFeqjoHcLu5DlIJAcW2oMd2x23 pbC6O2R9NK1Slu4qwXTWFRZOfNYi7ueLemE1wFqp7P5hjEmfzhcrXrnGnSS43SP4iTSI +Q6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HFHh6VAc; 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 y11si18923212jaf.84.2021.07.12.11.08.36; Mon, 12 Jul 2021 11:08:49 -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=HFHh6VAc; 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 S234172AbhGLSKy (ORCPT + 99 others); Mon, 12 Jul 2021 14:10:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:36488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230477AbhGLSKy (ORCPT ); Mon, 12 Jul 2021 14:10:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 59D6C61186; Mon, 12 Jul 2021 18:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626113285; bh=np4JNT0BJpCZ4vvOwewfHbchj+ZJLJ/rTIO40POtAFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HFHh6VAczXldBn2wZnYsfbfubpt9RTVtEJoAyUvA0Q1JBxhWDAiH7Yij8BPTMN6xZ 3uzhQ52Zunoxksl9ye5Kadokq9qo0prBxf0vl/MHep0d8FXqFl5qI42YDC3+VUv4HU 4mOWTG6QxPotlguT6ThlvN0cIEde5PLwDEOejtIYp63xEQbfLdLDbrS8nOGqUs1TGF dKVmvMNEIgqkX7DiPqpP3BOh5ijW7kzKsDEerooDhBqlK2OcQmc6UOWE04ghx6IQM+ 7cBSSPN1d6ER6U8ctibSqPr7MfcpV8IMz4Y3L+sQ4hi9MVTuHjGd1dpGTw8wiQGlCW zfy0VzbLxNLpA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id AFCF5403F2; Mon, 12 Jul 2021 15:08:02 -0300 (-03) Date: Mon, 12 Jul 2021 15:08:02 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jin Yao , jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH v2 0/4] perf tool: Skip invalid hybrid PMU Message-ID: References: <20210708013701.20347-1-yao.jin@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 Sun, Jul 11, 2021 at 05:52:48PM +0200, Jiri Olsa escreveu: > On Thu, Jul 08, 2021 at 09:36:57AM +0800, Jin Yao wrote: > > On hybrid platform, such as Alderlake, if atom CPUs are offlined, > > the kernel still exports the sysfs path '/sys/devices/cpu_atom/' for > > 'cpu_atom' pmu but the file '/sys/devices/cpu_atom/cpus' is empty, > > which indicates this is an invalid pmu. So we need to check and skip > > the invalid hybrid pmu. > > > > Also we need to update some perf test cases for core-only system. > > > > Jin Yao (4): > > perf pmu: Skip invalid hybrid pmu > > perf tests: Fix 'Parse event definition strings' on core-only system > > perf tests: Fix 'Roundtrip evsel->name' on core-only system > > perf tests: Fix 'Convert perf time to TSC' on core-only system > > Acked-by: Jiri Olsa Thanks, applied to perf/urgent. - Arnaldo