From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753645AbbDGVaz (ORCPT ); Tue, 7 Apr 2015 17:30:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33316 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbbDGVav (ORCPT ); Tue, 7 Apr 2015 17:30:51 -0400 Date: Tue, 7 Apr 2015 23:30:42 +0200 From: Jiri Olsa To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Paul Mackerras , David Ahern , Namhyung Kim , Ingo Molnar , Andi Kleen , William Cohen Subject: Re: [RFC 0/6] perf stat: Metrics calculation fix Message-ID: <20150407213042.GA23337@krava.redhat.com> References: <1428441919-23099-1-git-send-email-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428441919-23099-1-git-send-email-jolsa@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 07, 2015 at 11:25:13PM +0200, Jiri Olsa wrote: > hi, > I'm sending Andi's patch accompanied with changes requested by Ingo. > http://marc.info/?l=linux-kernel&m=139748629929175&w=2 > > I added simple bit calculated index array, while exclude_* bits > might have more strict logic and ban some combinations, but I > wanted to keep it simple and did not find better solution. available in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/andi > > thanks, > jirka > > > --- > Andi Kleen (1): > perf stat: Fix metrics calculation with event qualifiers > > Jiri Olsa (5): > perf tools: Add 'I' event modifier for exclude_idle bit > perf stat: Change metrics context calculation > perf stat: Add metrics support for exclude_hv > perf stat: Add metrics support for exclude_(host|guest) > perf stat: Add metrics support for exclude_idle > > tools/perf/Documentation/perf-list.txt | 1 + > tools/perf/builtin-stat.c | 144 +++++++++++++++++++++++++++++++++++++++++------------------------ > tools/perf/tests/parse-events.c | 40 ++++++++++++++++++ > tools/perf/util/parse-events.c | 8 +++- > tools/perf/util/parse-events.l | 2 +- > 5 files changed, 141 insertions(+), 54 deletions(-)