From: John L. <mov...@us...> - 2003-09-24 22:11:41
|
Update of /cvsroot/oprofile/oprofile/doc In directory sc8-pr-cvs1:/tmp/cvs-serv9705/doc Modified Files: opcontrol.1.in oprofile.xml Log Message: per-cpu profiling is here Index: opcontrol.1.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/doc/opcontrol.1.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -d -r1.4 -r1.5 --- opcontrol.1.in 15 Aug 2003 20:06:24 -0000 1.4 +++ opcontrol.1.in 24 Sep 2003 22:11:35 -0000 1.5 @@ -93,10 +93,11 @@ Only profile process tty group pgrp (onl to 'none' to enable profiling of all PIDs again. .br .TP -.BI "--separate="[none,library,kernel,all] +.BI "--separate="[none,library,kernel,thread,cpu,all] Separate samples based on the given separator. 'library' per-application dynamically linked libraries samples files. 'kernel' per-application modules -and kernel samples files, 'kernel' imply 'library'. 'all' imply all the +and kernel samples files, 'kernel' imply 'library'. 'thread' gives separation +for each thread and task. 'cpu' separates for each physical CPU. 'all' imply all the above options and 'none' turns off separation. .br .TP Index: oprofile.xml =================================================================== RCS file: /cvsroot/oprofile/oprofile/doc/oprofile.xml,v retrieving revision 1.96 retrieving revision 1.97 diff -u -p -d -r1.96 -r1.97 --- oprofile.xml 21 Sep 2003 19:18:14 -0000 1.96 +++ oprofile.xml 24 Sep 2003 22:11:35 -0000 1.97 @@ -555,7 +555,7 @@ is required. These settings are stored i </para></listitem> </varlistentry> <varlistentry> - <term><option>--separate=</option>[none,library,kernel,all]</term> + <term><option>--separate=</option>[none,library,kernel,thread,cpu,all]</term> <listitem><para> By default, every profile is stored in a single file. Thus, for example, samples in the C library are all accredited to the <filename>/lib/libc.o</filename> @@ -568,6 +568,8 @@ is required. These settings are stored i <row><entry><option>none</option></entry><entry>No profile separation (default)</entry></row> <row><entry><option>library</option></entry><entry>Create per-application profiles for libraries</entry></row> <row><entry><option>kernel</option></entry><entry>Create per-application profiles for the kernel and kernel modules</entry></row> + <row><entry><option>thread</option></entry><entry>Create profiles for each thread and each task</entry></row> + <row><entry><option>cpu</option></entry><entry>Create profiles for each physical CPU</entry></row> <row><entry><option>all</option></entry><entry>Both of the above options</entry></row> </tbody> </tgroup> @@ -583,7 +585,6 @@ is required. These settings are stored i <para> On 2.2/2.4 only kernel threads already started when profiling begins are correctly profiled; newly started kernel thread samples are credited to the vmlinux (kernel) profile. - On 2.6 there is no kernel thread profiling, all these samples are credited to the vmlinux profile. </para> </listitem> </varlistentry> @@ -1008,7 +1009,7 @@ If we had specified <option>--symbols</o gotten a symbol summary of all the images across the entire system. We can restrict this to only part of the system profile; for example, below is a symbol summary of the OProfile daemon. Note that as we used -<command>opcontrol --separate=all</command>, symbols from images that <command>oprofiled</command> +<command>opcontrol --separate=kernel</command>, symbols from images that <command>oprofiled</command> has used are also shown. </para> <screen> |