From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18239 invoked by alias); 19 Jan 2010 02:34:30 -0000 Received: (qmail 18232 invoked by uid 22791); 19 Jan 2010 02:34:29 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Jan 2010 02:34:25 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0J2YOjW014275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Jan 2010 21:34:24 -0500 Received: from localhost6.localdomain6 (dhcp-100-3-156.bos.redhat.com [10.16.3.156]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0J2YNBu030762; Mon, 18 Jan 2010 21:34:23 -0500 From: Masami Hiramatsu Subject: [PATCH -tip 2/2] kprobetrace, doc: Add the explanation to remove probe points To: Ingo Molnar , lkml Cc: systemtap, DLE, KOSAKI Motohiro , Masami Hiramatsu Date: Tue, 19 Jan 2010 02:34:00 -0000 Message-ID: <20100119023512.31880.35535.stgit@localhost6.localdomain6> In-Reply-To: <20100117071411.GD19512@elte.hu> References: <20100117071411.GD19512@elte.hu> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00180.txt.bz2 From: Motohiro KOSAKI Latest kprobetrace can remove probe points selectively. thus documentation should be updated too. Signed-off-by: KOSAKI Motohiro Acked-by: Masami Hiramatsu --- Documentation/trace/kprobetrace.txt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/trace/kprobetrace.txt b/Documentation/trace/kprobetrace.txt index ab57f02..a9100b2 100644 --- a/Documentation/trace/kprobetrace.txt +++ b/Documentation/trace/kprobetrace.txt @@ -24,6 +24,7 @@ Synopsis of kprobe_events ------------------------- p[:[GRP/]EVENT] SYMBOL[+offs]|MEMADDR [FETCHARGS] : Set a probe r[:[GRP/]EVENT] SYMBOL[+0] [FETCHARGS] : Set a return probe + -:[GRP/]EVENT : Clear a probe GRP : Group name. If omitted, use "kprobes" for it. EVENT : Event name. If omitted, the event name is generated @@ -122,6 +123,12 @@ REC->dfd, REC->filename, REC->flags, REC->mode This clears all probe points. + Or, + + echo -:myprobe >> kprobe_events + + This clears probe points selectively. + Right after definition, each event is disabled by default. For tracing these events, you need to enable it.