From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752772AbYJaO4g (ORCPT ); Fri, 31 Oct 2008 10:56:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751267AbYJaO42 (ORCPT ); Fri, 31 Oct 2008 10:56:28 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:35460 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250AbYJaO42 (ORCPT ); Fri, 31 Oct 2008 10:56:28 -0400 Date: Fri, 31 Oct 2008 10:56:26 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Randy Dunlap cc: LKML , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , Linus Torvalds Subject: Re: [PATCH] ftrace: update txt document In-Reply-To: <20081026193339.91e0c644.randy.dunlap@oracle.com> Message-ID: References: <20081026193339.91e0c644.randy.dunlap@oracle.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I finally got around to looking at the review notes. On Sun, 26 Oct 2008, Randy Dunlap wrote: > > > > # sysctl kernel.ftrace_enabled=1 > > - # echo ftrace > /debug/tracing/current_tracer > > + # echo function > /debug/tracing/current_tracer > > # echo 1 > /debug/tracing/tracing_enabled > > # usleep 1 > > # echo 0 > /debug/tracing/tracing_enabled > > # cat /debug/tracing/trace > > -# tracer: ftrace > > +# tracer: function > > # > > # TASK-PID CPU# TIMESTAMP FUNCTION > > # | | | | | > > General comment #2: debugfs is normally mounted at /sys/kernel/debug > (which Doc/x86/pat.txt, Doc/filesystems/relay.txt, > Doc/infiniband/ipoib.txt, and Doc/usb/usbmon.txt know about). > Please either use /sys/kernel/debug or use what Doc/kernel-parameters.txt > uses: (for the mount point). I.e., don't use a poor example > in the doc text. In the beginning of the document I did have a disclaimer: ------------------------ To mount the debugfs system: # mkdir /debug # mount -t debugfs nodev /debug (Note: it is more common to mount at /sys/kernel/debug, but for simplicity this document will use /debug) ------------------------ I know the recommended place is /sys/kernel/debug, but I never use it. And I know many others that do not either. It is just easier to make the /debug directory. I feel this is more of a guideline than something that must be enforced. But if you do feel strongly on this subject, I can change it to /sys/kernel/debug (which I absolutely loathe). The rest of your comments I'm fine with. -- Steve