Thanks for your help Maynard.
I think that, in order to profile IPSec, I need "opcontrol --vm-lnux=3D/b=
However, when I do it on my computer I get the following error message:
sudo opcontrol --vmlinux=3D/boot/vmlinux-2.6.20-15-generic
The specified file /boot/vmlinux-2.6.20-15-generic does not seem to be va=
Make sure you are using the non-compressed image file (e.g. vmlinux not v=
... and I'sure vmlinux is the right one (i.e., I gunzipped it from the vm=
> Hi All!
> I need to measure the CPU consumption due to the usage of IPSec.
> If I got everything correct, OProfile is the right tool.
> However I still have some problems.
> Assuming I don't want to profile the kernel (i.e., sudo opcontrol --no-=
> what is the meaning of "no-vmlinux" in the list given by opreport? For=
example, in \
> the following dump, did the kernel use 24.3621% of the CPU? Is the term=
> equivalente to the CPU clocks?
The summary report does show the number of samples taken in the kernel.
But when you generate a report with symbols info, the kernel samples
are not included. One sample is equivalent to n events, where n is the
count value you specify for the event you want to monitor. In your
case: 1 sample =3D 100000 clocks processor is not halted
But I thought IPSec stuff was in the kernel . . . not sure where, though.=
> CPU: PIII, speed 601.38 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (clocks processor is not halted) with a=
unit mask \
> of 0x00 (No unit mask) count 100000 CPU_CLK_UNHALT...|
> samples| %|
> 30849 35.9902 libc-2.5.so
> 30337 35.3929 sipp
> 20882 24.3621 no-vmlinux
> 1727 2.0148 libstdc++.so.6.0.8
> 838 0.9777 modprobe
> 425 0.4958 oprofiled
> Any help is appreciated.
Leggi GRATIS le tue mail con il telefonino i-mode=99 di Wind=0Ahttp://i-m=
From: John Levon <levon@mo...> - 2007-07-13 11:35:57
On Fri, Jul 13, 2007 at 12:03:38PM +0200, DT wrote:
> ... and I'sure vmlinux is the right one (i.e., I gunzipped it from the vmlinuz fle...)
This is not how you get a vmlinux file. You need to build the kernel and
use the vmlinux file found in the build dir