Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755512AbbGUOnS (ORCPT ); Tue, 21 Jul 2015 10:43:18 -0400 Received: from one.firstfloor.org ([193.170.194.197]:56810 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753084AbbGUOnK (ORCPT ); Tue, 21 Jul 2015 10:43:10 -0400 Date: Tue, 21 Jul 2015 16:43:08 +0200 From: Andi Kleen To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Andi Kleen , Ulrich Drepper , Will Deacon , Stephane Eranian , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra , kan.liang@intel.com Subject: Re: [RFC 00/47] perf stat: Add scripting support Message-ID: <20150721144308.GL1747@two.firstfloor.org> References: <1437481927-29538-1-git-send-email-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437481927-29538-1-git-send-email-jolsa@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 32 On Tue, Jul 21, 2015 at 02:31:20PM +0200, Jiri Olsa wrote: > hi, > sending RFC on another attempt for stat scripting. > > 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. I suspect there is some overlap with Kan's patchkit to put uncore data into perf.data too. The basic direction seems good just from reading the intro (haven't read the code so far). I've been thinking about doing something similar to do native topdown support in perf. This would require evaluating formulas which are depending on the CPU. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/