Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1252421 > unrolled thread

Re: [PATCHv4 00/57] perf stat: Add scripting support

Started byNamhyung Kim <namhyung@kernel.org>
First post2015-10-21 04:10 +0200
Last post2015-10-21 12:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCHv4 00/57] perf stat: Add scripting support Namhyung Kim <namhyung@kernel.org> - 2015-10-21 04:10 +0200
    Re: [PATCHv4 00/57] perf stat: Add scripting support Jiri Olsa <jolsa@redhat.com> - 2015-10-21 12:30 +0200

#1252421 — Re: [PATCHv4 00/57] perf stat: Add scripting support

FromNamhyung Kim <namhyung@kernel.org>
Date2015-10-21 04:10 +0200
SubjectRe: [PATCHv4 00/57] perf stat: Add scripting support
Message-ID<qlR0J-5uK-5@gated-at.bofh.it>
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
--
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/

[toc] | [next] | [standalone]


#1252697

FromJiri Olsa <jolsa@redhat.com>
Date2015-10-21 12:30 +0200
Message-ID<qlYOD-5L-25@gated-at.bofh.it>
In reply to#1252421
On Wed, Oct 21, 2015 at 11:03:57AM +0900, Namhyung Kim wrote:
> 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.

yep, I plan to do stat diff

jirka
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web