[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160704110329.16a776a8278115dc990b13c0@kernel.org>
Date: Mon, 4 Jul 2016 11:03:29 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: linux-kernel@...r.kernel.org, Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Hemant Kumar <hemant@...ux.vnet.ibm.com>,
Ananth N Mavinakayanahalli <ananth@...ux.vnet.ibm.com>,
Brendan Gregg <brendan.d.gregg@...il.com>
Subject: Re: [PATCH perf/core v13 02/15] perf probe: Show all cached probes
On Fri, 1 Jul 2016 10:51:04 -0300
Arnaldo Carvalho de Melo <acme@...nel.org> wrote:
> Em Fri, Jul 01, 2016 at 05:03:26PM +0900, Masami Hiramatsu escreveu:
> > From: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
> >
> > perf probe --list shows all cached probes when --cache
> > is given. Each caches are shown with on which binary that
> > probed. e.g.
> > -----
> > # perf probe --cache vfs_read \$params
>
> This one works:
>
> # perf probe --cache vfs_read \$params
> Added new event:
> probe:vfs_read (on vfs_read with $params)
>
> You can now use it in all perf tools, such as:
>
> perf record -e probe:vfs_read -aR sleep 1
>
> #
>
> > # perf probe --cache -x /lib64/libc-2.17.so getaddrinfo \$params
>
> But this one doesn't and provides a funny message:
>
> [root@...et perf]# perf probe --cache -x /lib64/libc-2.23.so getaddrinfo \$params
> Failed to write event: Invalid argument
> Please upgrade your kernel to at least 3.14 to have access to feature $params
> Error: Failed to add events.
Ah, OK, $params requires debuginfo. It this error message is not correct.
I'll send a fix soon.
Thanks!!
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists