From: Vasily Tarasov Date: Wed, 7 Feb 2007 13:39:15 +0000 (+0100) Subject: [PATCH] Fix debugfs references in docs X-Git-Tag: blktrace-0.99.3~34^2~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=90ec4b1587d58b62c6c5a903c8f2179fc0e1f5c5;p=blktrace.git [PATCH] Fix debugfs references in docs At several places in docs old mountpoint for debugfs is mentioned. The patch just corrects these misprints. Signed-off-by: Jens Axboe --- diff --git a/README b/README index 741b8f6..563f6d2 100644 --- a/README +++ b/README @@ -39,7 +39,7 @@ $ blktrace -d [ -r debug_path ] [ -o output ] [ -k ] [ -w time ] [ -a action ] [ -A action mask ] -d Use specified device. May also be given last after options. - -r Path to mounted debugfs, defaults to /debug. + -r Path to mounted debugfs, defaults to /sys/kernel/debug. -o File(s) to send output to. -D Directory to prepend to output file names. -k Kill running trace. diff --git a/blktrace.c b/blktrace.c index ee8d25d..359cdad 100644 --- a/blktrace.c +++ b/blktrace.c @@ -1751,7 +1751,7 @@ static char usage_str[] = \ "-d [ -r debugfs path ] [ -o ] [-k ] [ -w time ]\n" \ "[ -a action ] [ -A action mask ] [ -v ]\n\n" \ "\t-d Use specified device. May also be given last after options\n" \ - "\t-r Path to mounted debugfs, defaults to /debug\n" \ + "\t-r Path to mounted debugfs, defaults to /sys/kernel/debug\n" \ "\t-o File(s) to send output to\n" \ "\t-D Directory to prepend to output file names\n" \ "\t-k Kill a running trace\n" \ diff --git a/doc/Makefile b/doc/Makefile index 912680c..0be4425 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -6,8 +6,8 @@ blktrace.tex: @touch blktrace.tex blktrace.pdf: blktrace.tex - @latex blktrace.tex > /dev/null - @latex blktrace.tex > /dev/null + @latex blktrace.tex + @latex blktrace.tex @dvipdfm -p a4 blktrace @rm -rf $(DOCTMP) diff --git a/doc/blktrace.tex b/doc/blktrace.tex index 72f7e2e..02ae1aa 100644 --- a/doc/blktrace.tex +++ b/doc/blktrace.tex @@ -107,20 +107,20 @@ Install the new kernel (and modules\ldots) and reboot. \subsection{\label{sec:mount}Mounting the debugfs file system} blktrace utilizes files under the debug file system, and thus must have -the mount point set up -- mounted on the directory /debug. To do this -one may do either of the following: +the mount point set up -- mounted on the directory /sys/kernel/debug. +To do this one may do either of the following: \begin{enumerate} \item Manually mount after each boot: \begin{verbatim} -% mount -t debugfs debugfs /debug +% mount -t debugfs debugfs /sys/kernel/debug \end{verbatim} \item Add an entry into /etc/fstab, and have it done automatically at each boot\footnote{Note: after adding the entry to /etc/fstab, you - could then mount the directory this time only by doing: \% mount /relay}: + could then mount the directory this time only by doing: \% mount debug}: \begin{verbatim} -debug /debug debugfs default 0 0 +debug /sys/kernel/debug debugfs default 0 0 \end{verbatim} \end{enumerate} @@ -341,8 +341,8 @@ of the more arcane command line options: \item blktrace receives data from the kernel in buffers passed up through the debug file system (relay). Each device being traced has a file created in the mounted directory for the debugfs, which defaults - to \emph{/debug} -- this can be overridden with the \emph{-r} command - line argument. + to \emph{/sys/kernel/debug} -- this can be overridden with the \emph{-r} + command line argument. \item blktrace defaults to collecting \emph{all} events that can be traced. To limit the events being captured, you can specify one or