By looking at EIP values, I can see that samples are being collected for my test module.  In the function get_file in daemon/opd_sfile.c which is called after issuing the opcontrol --shutdown command, I can see trans->pc values that correspond to the EIP values of samples collected for my test module but no new sample file is created for these samples.

Since I can see the samples are there for my test module, why isn't a sample file created for the test module samples?


On Nov 12, 2009, at 3:42 PM, jobhunts02@aol.com wrote:

Could the fact that I am following the instructions below be an issue as far as sampling inserted kernel modules?  Of course, samples for other than the kernel modules seem to be stored just fine. 

  • If running from an image in the internal jffs2 file system, you will need to mount another file system to store the samples. Below are examples of the commands to set that up. You will need to modify for local conditions.

mkdir /var/lib/oprofile

mount -t ramfs none /var/lib/oprofile

 

=
=