From: Philippe Elie <phil_e@us...> - 2001-09-28 03:25:40
Update of /cvsroot/oprofile/oprofile/doc
In directory usw-pr-cvs1:/tmp/cvs-serv23251/oprofile/doc
last commit was wrong
RCS file: /cvsroot/oprofile/oprofile/doc/oprofile.sgml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- oprofile.sgml 2001/09/28 02:51:39 1.32
+++ oprofile.sgml 2001/09/28 03:25:37 1.33
@@ -245,11 +245,12 @@
I can now ask for a symbol-based summary of the sample profile :
-<para><command>oprofpp —demangle -l /home/moz/lyx/lyx-devel/src/lyx >oprof.out</command></para>
+<para><command>oprofpp —demangle -l ./lyx >oprof.out</command></para>
-You will have to specify the full path unless you also specify the sample file (see the manpage). This can be quite slow
-on large binaries, so sit tight. As it's a C++ program, I asked for the symbols to be demangled to a readable form. Examining
-the file will give the symbols against which the most hits were registered. In this case I got :
+You can also pass the full absoluate path of the binary to example.
+This can be quite slow on large binaries, so sit tight.
+As it's a C++ program, I asked for the symbols to be demangled to a readable form. Examining
+the output will give the symbols against which the most hits were registered. In this case I got :
@@ -585,7 +586,7 @@
<title>Misuse of <command>oprofile</command> and stability of system</title>
OProfile is a low-level profiler which allow continuous profiling with a low-overhead cost.
@@ -615,23 +616,23 @@
each enabled counter. As the NMI handler is in-kernel, this avoids the problem.
<para>There are situations where you are only interested in the profiling results of a particular
running process, or process group. You can set
the pid/pgrp values via the <filename>—pid-filter</filename> and <filename>—pgrp-filter</filename>
options to <command>op_start</command>, or by setting the relevant sysctls as mentioned in <xref linkend="sysctl">.
<title>Unloadable kernel module</title>
The kernel module can be unloaded, but is designed to take very little memory when profiling is not underway.
@@ -648,7 +649,7 @@
<para><command>modprobe oprofile allow_unload=1</command></para>
<para>This option can be <emphasis>DANGEROUS</emphasis> and should only be used on non-production systems.</para>