From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934129AbbDIKgj (ORCPT ); Thu, 9 Apr 2015 06:36:39 -0400 Received: from mail.kernel.org ([198.145.29.136]:53424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933427AbbDIKgh (ORCPT ); Thu, 9 Apr 2015 06:36:37 -0400 Date: Thu, 9 Apr 2015 07:36:38 -0300 From: Arnaldo Carvalho de Melo To: Masami Hiramatsu Cc: David Ahern , Jiri Olsa , Namhyung Kim , Ingo Molnar , Linux Kernel Mailing List Subject: Re: [RFE] perf probe: Support globbing/regex in -a Message-ID: <20150409103638.GK5403@kernel.org> References: <20150408194826.GI5403@kernel.org> <55260DD8.50409@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <55260DD8.50409@hitachi.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 __new, and right now I want > > to know hoe many of each 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? > > 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