From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753329AbdAKSxt (ORCPT ); Wed, 11 Jan 2017 13:53:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34105 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbdAKSxr (ORCPT ); Wed, 11 Jan 2017 13:53:47 -0500 Date: Wed, 11 Jan 2017 19:53:44 +0100 From: Jiri Olsa To: Andi Kleen Cc: acme@kernel.org, jolsa@kernel.org, mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: Support Intel uncore event lists v4 Message-ID: <20170111185344.GA21289@krava> References: <20170110013337.4876-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170110013337.4876-1-andi@firstfloor.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 11 Jan 2017 18:53:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 09, 2017 at 05:33:26PM -0800, Andi Kleen wrote: > This adds uncore support on top of the recently merged JSON event list > infrastructure for core events. Uncore is everything outside the core, > including memory controllers, PCI, interconnect etc. > > Uncore is more complicated to handle than core events because it uses > many duplicated PMUs, which leads to long event lists and verbose duplicated > outputs. > > In fact previously it was nearly unusable for many cases without special > tools to generate event list and aggregate data (such as > https://github.com/andikleen/pmu-tools/tree/master/ucevent) > > With this patchkit we add: > - Basic support for uncore events in JSON events > - Support aliases that get duplicated over many PMUs transparently > - Support summing up duplicated PMUs per socket > - Support extending the perf stat builtin metrics with simple expressions > specified in the event list. > > So far mainly servers are supported. Also this is not using full event lists > (which are full of very obscure events) but only for a smaller subset of > curated useful and understandable metrics. > > The actual event lists are not posted, but available at > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/intel-uncore-json-files-3 > > The code is available here > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/builtin-json-22 > > v1: Initial post > v2: Address review feedback. See changelog in commits. > v3: Repost. Rebase to latest tree. > v4: Rebase. Change DividedBy to generic simple expression parser. > Fix refactoring problem that broke git bisect. > Address review feedback. > what's the difference to the post from Jan 03? jirka