From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753189AbdIEUhN (ORCPT ); Tue, 5 Sep 2017 16:37:13 -0400 Received: from mga02.intel.com ([134.134.136.20]:15591 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752490AbdIEUhJ (ORCPT ); Tue, 5 Sep 2017 16:37:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,481,1498546800"; d="scan'208";a="148464323" Date: Tue, 5 Sep 2017 13:37:08 -0700 From: Andi Kleen To: Arnaldo Carvalho de Melo Cc: Andi Kleen , jolsa@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 06/11] perf, tools, stat: Support JSON metrics in perf stat Message-ID: <20170905203708.GX28715@tassilo.jf.intel.com> References: <20170831194036.30146-1-andi@firstfloor.org> <20170831194036.30146-7-andi@firstfloor.org> <20170904171128.GB22298@kernel.org> <20170904173725.GU2482@two.firstfloor.org> <20170905180919.GG22298@kernel.org> <20170905181952.GV28715@tassilo.jf.intel.com> <20170905185251.GL22298@kernel.org> <20170905195235.GW2482@two.firstfloor.org> <20170905200709.GM22298@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170905200709.GM22298@kernel.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 05, 2017 at 05:07:09PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 05, 2017 at 12:52:35PM -0700, Andi Kleen escreveu: > > > > I'll check. > > > > > > Ok, I couldn't reproduce it anymore, after you check this, please let me > > > know if I should pull that perf/intel-json-metrics-2 branch so that > > > someone wanting to test this can have it all in one place, ok? > > > > Sure please pull. > > > > The only missing thing are metrics for Skylake Server, but I can > > submit those later. > > Ok, so I looked at the commit logs and found them rather dull, how is > that option to fake a CPU so that the tool thinks it is running on some > specific machine (broadwell, skylake, etc) so that I can augment those > with the output of 'perf list metricgroup' for each of them? PERF_CPUID=GenuineIntel-... See the mapfile.csv for valid codes But it's quite a few. -Andi