lkml.org 
[lkml]   [2015]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFE] perf probe: Support globbing/regex in -a
Em Thu, Apr 09, 2015 at 02:27:52PM +0900, Masami Hiramatsu escreveu:
> Hi Arnaldo,
>
> (2015/04/09 4:48), Arnaldo Carvalho de Melo wrote:
> > Hi Masami,
> >
> > In tools/perf constructors are named <CLASS>__new, and right now I want
> > to know hoe many of each <CLASS> objects are being allocated, so I expected to
> > be able to do:
> >
> > [root@zoo ~]# perf probe -x ~/bin/perf -a "*__new"
> > Probe point '*__new' not found.
> > Error: Failed to add events.
> > [root@zoo ~]#
>
> Actually, I had sent it :)
>
> https://lkml.org/lkml/2014/10/31/207
> https://lkml.org/lkml/2014/10/31/213
>
> I'll update and resend the wildcard support.

Oops, but it was together with that cache thing, could it be sent
separately?

<SNIP>

> > Also that -l should output to stdout, so that we can grep it, also it would be nice if it -l worked
> > like in perf list:
> >
> > [root@zoo ~]# perf probe -l probe_perf:*
> > Semantic error :There is non-digit char in line number.
> > Error: Command Parse Error.
>
> Hmm, right. This should be fixed.

Thanks!

- Arnaldo


\
 
 \ /
  Last update: 2015-04-09 13:01    [W:0.059 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site