From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754046AbZBQPCR (ORCPT ); Tue, 17 Feb 2009 10:02:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751970AbZBQPCA (ORCPT ); Tue, 17 Feb 2009 10:02:00 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:40304 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365AbZBQPCA (ORCPT ); Tue, 17 Feb 2009 10:02:00 -0500 Date: Tue, 17 Feb 2009 15:37:52 +0100 From: Ingo Molnar To: Steven Rostedt Cc: Sam Ravnborg , linux-kernel@vger.kernel.org, Andrew Morton , Peter Zijlstra , Frederic Weisbecker , Arnaldo Carvalho de Melo , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH 00/15] [git pull] for tip/tracing/ftrace Message-ID: <20090217143752.GB7576@elte.hu> References: <20090217051227.957864159@goodmis.org> <20090217104213.GC6602@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steven Rostedt wrote: > > > I implement a 'traceon' and 'traceoff' to have a function > > > start or stop tracing when it is hit. It also includes a > > > counter for the number of times to implement the trace on/off. > > > > > > echo '*_lock:traceon:4' > set_ftrace_filter > > > echo '*_unlock:traceoff:5' > set_ftrace_filter > > > > if there's no counter specified, does it default to 1 > > [single-shot trigger] or infinity? > > Bad documentation on my part :-/ > > No number is infinity, since infinity is no number ;-) Well infinity is a number too, in most schools of algebra, just one with unusual properties :) Ingo