lkml.org 
[lkml]   [2018]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2]: perf record: enable arbitrary event names thru name= modifier
Em Fri, Jun 01, 2018 at 04:01:00PM -0700, Andi Kleen escreveu:
> On Thu, May 31, 2018 at 05:08:12PM +0300, Alexey Budankov wrote:
> >
> > Enable complex event names containing [.:=,] symbols to be encoded into Perf
> > trace using name= modifier e.g. like this:
> >
> > perf record -e cpu/name=\'OFFCORE_RESPONSE:request=DEMAND_RFO:response=L3_HIT.SNOOP_HITM\',\
> > period=0x3567e0,event=0x3c,cmask=0x1/Duk ./futex
> >
> > Below is how it looks like in the report output. Please note explicit escaped
> > quoting at cmdline string in the header so that thestring can be directly reused
> > for another collection in shell:
>
> Patch looks good, but new syntax also needs to be documented in some manpage
> (e.g. perf list)

He added the doc part in his v3 post, so I'l collecting your Acked-by,
ok?

- Arnaldo

\
 
 \ /
  Last update: 2018-06-04 15:47    [W:1.114 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site