From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752866AbbJUCEG (ORCPT ); Tue, 20 Oct 2015 22:04:06 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:35161 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbbJUCEE (ORCPT ); Tue, 20 Oct 2015 22:04:04 -0400 Date: Wed, 21 Oct 2015 11:03:57 +0900 From: Namhyung Kim To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Andi Kleen , Ulrich Drepper , Will Deacon , Stephane Eranian , Don Zickus , lkml , David Ahern , Ingo Molnar , Peter Zijlstra , "Liang, Kan" Subject: Re: [PATCHv4 00/57] perf stat: Add scripting support Message-ID: <20151021020357.GD628@sejong> References: <1444992092-17897-1-git-send-email-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1444992092-17897-1-git-send-email-jolsa@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri, On Fri, Oct 16, 2015 at 12:40:35PM +0200, Jiri Olsa wrote: > hi, > sending another version of stat scripting. > > v4 changes: > - added attr update event for event's cpumask > - forbig aggregation on task workloads > - some minor reorders and changelog fixes > > v3 changes: > - added attr update event to handle unit,scale,name for event > it fixed the uncore_imc_1/cas_count_read/ record/report > - perf report -D now displays stat related events > - some minor and changelog fixes > > v2 changes: > - rebased to latest Arnaldo's perf/core > - patches 1 to 11 already merged in > - added --per-core/--per-socket/-A options for perf stat report > command to allow custom aggregation in stat report, please > check new examples below > - couple changelogs changes > > The initial attempt defined its own formula lang and allowed > triggering user's script on the end of the stat command: > http://marc.info/?l=linux-kernel&m=136742146322273&w=2 > > This patchset abandons the idea of new formula language > and rather adds support to: > - store stat data into perf.data file > - add python support to process stat events > > Basically it allows to store stat data into perf.data and > post process it with python scripts in a similar way we > do for sampling data. Nice. I didn't review this patchset (yet) but I have a feature request. :) It'd be great if we have 'perf stat diff' to compare two (or more) files in some way. Thanks, Namhyung