Received: by 10.223.185.116 with SMTP id b49csp4854706wrg; Wed, 7 Mar 2018 02:05:54 -0800 (PST) X-Google-Smtp-Source: AG47ELvp4sWnMdvjYEpHhLxnqbTy4F598i7ayF2YxIey+sXrecmugvFTUWmA0VKOcYvvFfEo0x86 X-Received: by 2002:a17:902:6597:: with SMTP id c23-v6mr18404907plk.414.1520417154449; Wed, 07 Mar 2018 02:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520417154; cv=none; d=google.com; s=arc-20160816; b=xRyWpQUE+vEzBA6ArkmRrsTG3YpVBi8YasFzn1SaPUglBmBB3Xrph0y8XNbsuvnTGh 4+y8U0HYH2czGnA4y7j4sBR2iEEEaWBo3hQPu7bJSBRC+2BQABMH+iWCxfDFUY4yPJ4I pYwbFmbIjUna46CGToZNCIJQFiJE6EtLl8kLtCrtxXmA0DS2vFKaWXoFneZ7VIwXsXPR 5rNhBr9q8+geWpAKpwsTnAULknKoc5FyQIuYQHM3pnTp8cIy7UfBDP0QXnKPg+wYh+ye fGwY4yBVRUWdsMsgjHOnISQHtFViP+TEdtgA9xuGO+HrhysvtvQyYF0B1XM+VzGyTaJj BX6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=jUTvv74iqtlT3Scbm2fWf/daQkzckmfh+7djnK537Ws=; b=l2qc4FD9ZeGK035N6EFrHgbdzHFjaQh+1PCIaTmsPJraS2eGNy3roUguRUlqGUble/ yLhxamIqTPWLOj72M1USVXmzaRjPxckvXb7ARuE3rCvXTpwgifaHEPlGpZ0RiejpD1iw 96jZJEVRRq4PXsDUhvimETozKDkf19BP7qIIzkO7G4ebPKijoEbx5tBFv7zYD1F7OZei oPjb4Mvf2wU3ZzQKep0zc89DUYiRJvepzGx4jyi9XJNpffgG96cqpaxO9hYaYBpeXKtC bGnaRIj9hSinS+R11AmxuD9Qv8Owh08HY1joavqaGVMJIJ0U7AXWnYEQPkZLf6FRVTC5 4HbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e67si4823455pgc.274.2018.03.07.02.05.39; Wed, 07 Mar 2018 02:05:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751225AbeCGKEQ (ORCPT + 99 others); Wed, 7 Mar 2018 05:04:16 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59030 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751127AbeCGKEL (ORCPT ); Wed, 7 Mar 2018 05:04:11 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EF58E40363BE; Wed, 7 Mar 2018 10:04:10 +0000 (UTC) Received: from krava (unknown [10.43.17.243]) by smtp.corp.redhat.com (Postfix) with SMTP id 4850D10AF9D5; Wed, 7 Mar 2018 10:04:09 +0000 (UTC) Date: Wed, 7 Mar 2018 11:04:08 +0100 From: Jiri Olsa To: Agustin Vega-Frias Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Andi Kleen , Alexander Shishkin , Namhyung Kim , timur@codeaurora.org Subject: Re: [RFC V3 0/3] perf stat: improvements for handling of multiple PMUs Message-ID: <20180307100408.GA22848@krava> References: <1520345084-42646-1-git-send-email-agustinv@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520345084-42646-1-git-send-email-agustinv@codeaurora.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 07 Mar 2018 10:04:11 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 07 Mar 2018 10:04:11 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 09:04:41AM -0500, Agustin Vega-Frias wrote: > This series of patches adds some simple improvements to the way perf stat > handles PMUs that have multiple instances by: > > 1. Adding glob-like matching in addition to the prefix-based matching > introduced previously (patch 1). > 2. Adding the ability to recover the PMU names when printing the events > separately with the --no-merge option (patch 2). > 3. Restoring auto-merge for events created by prefix or glob-like match > (patch 3). Note that this still keeps the behavior that disables > auto-merging of legacy symbolic events (e.g. cycles). > > V3: > > - Consolidated prefix and glob matching into a single glob match with a > trailing * to maintain prefix matching and have more consistent behavior. > E.g., all of these match all the uncore_imc PMUs: imc, imc*, *imc, *imc* Acked-by: Jiri Olsa thanks, jirka