From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758267AbdJMPAb (ORCPT ); Fri, 13 Oct 2017 11:00:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:48778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758036AbdJMPA3 (ORCPT ); Fri, 13 Oct 2017 11:00:29 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF42321876 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Fri, 13 Oct 2017 11:50:59 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: jolsa@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH v3 07/11] perf, tools, list: Add metric groups to perf list Message-ID: <20171013145059.GR3503@kernel.org> References: <20170831194036.30146-1-andi@firstfloor.org> <20170831194036.30146-8-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170831194036.30146-8-andi@firstfloor.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Aug 31, 2017 at 12:40:32PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Add code to perf list to print metric groups, and metrics > that don't have an event name. The metricgroup code collects > the eventgroups and events into a rblist, and then prints > them according to the configured filters. > > The metricgroups are printed by default, but can be > limited by perf list metric or perf list metricgroup Andi, I just noticed that metric groups appear when we pass some substring to search events that looks unrelated, can you please take a look at this? Thanks, - Arnaldo [root@jouet ~]# perf list energy-cores oList of pre-defined events (to be used in -e): power/energy-cores/ [Kernel PMU event] Metric Groups: DSB: DSB_Coverage [Fraction of Uops delivered by the DSB (aka Decoded Icache; or Uop Cache)] FLOPS: GFLOPs [Giga Floating Point Operations Per Second] Frontend: IFetch_Line_Utilization [Rough Estimation of fraction of fetched lines bytes that were likely consumed by program instructions] Frontend_Bandwidth: DSB_Coverage [Fraction of Uops delivered by the DSB (aka Decoded Icache; or Uop Cache)] Memory_BW: MLP [Memory-Level-Parallelism (average number of L1 miss demand load when there is at least 1 such miss)] Memory_Bound: Load_Miss_Real_Latency [Actual Average Latency for L1 data-cache miss demand loads] MLP [Memory-Level-Parallelism (average number of L1 miss demand load when there is at least 1 such miss)] Memory_Lat: Load_Miss_Real_Latency [Actual Average Latency for L1 data-cache miss demand loads] Pipeline: CPI