From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2202 invoked by alias); 2 Feb 2015 16:01:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 2176 invoked by uid 89); 2 Feb 2015 16:01:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Feb 2015 16:01:33 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJ500900IYUTG00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Mon, 02 Feb 2015 18:01:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJ50095WJ6IIN40@a-mtaout22.012.net.il>; Mon, 02 Feb 2015 18:01:30 +0200 (IST) Date: Mon, 02 Feb 2015 16:01:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH V4 3/9] New commands `enable probe' and `disable probe'. In-reply-to: <1422874968-382-4-git-send-email-jose.marchesi@oracle.com> To: "Jose E. Marchesi" Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83r3u8gv5e.fsf@gnu.org> References: <1422874968-382-1-git-send-email-jose.marchesi@oracle.com> <1422874968-382-4-git-send-email-jose.marchesi@oracle.com> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00023.txt.bz2 > From: "Jose E. Marchesi" > Date: Mon, 2 Feb 2015 12:02:42 +0100 > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index aee17d3..4ab0bba 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -5011,6 +5011,35 @@ given, all object files are considered. > List the available static probes, from all types. > @end table > > +@cindex enabling and disabling probes > +Some probe points can be enabled and/or disabled. The effect of > +enabling or disabling a probe depends on the type of probe being > +handled. @code{SystemTap} probes cannot be disabled. > + > +You can enable (or disable) one or more probes using the following > +commands, with optional arguments: > + > +@table @code > +@kindex enable probes > +@item enable probes @r{[}@var{provider} @r{[}@var{name} @r{[}@var{objfile}@r{]}@r{]}@r{]} > +If given, @var{provider} is a regular expression used to match against > +provider names when selecting which probes to enable. If omitted, > +all probes from all providers are enabled. > + > +If given, @var{name} is a regular expression to match against probe > +names when selecting which probes to enable. If omitted, probe names > +are not considered when deciding whether to enable them. > + > +If given, @var{objfile} is a regular expression used to select which > +object files (executable or shared libraries) to examine. If not > +given, all object files are considered. OK for the documentation part. Thanks.