I'm trying to get v0.9.5 to work on my i.MX31 platform but the sample files in /dev/oprofile remain desperately empty.
I'm not familiar with the oprofile internals, so before I look into it I'd like to make sure i'm not overlooking something obvious. Can you please confirm I should get a non-empty report already ?
thanks and regards,
I use the default event selection and did not restrict to any image, here's the daemonrc file :
Here's what I'm trying (I added some traces to check that the ko is loaded) :
# opcontrol --vmlinux=/vmlinux
oprofile: using arm/armv6
# opcontrol --start
Detected stale lock file. Removing.
Using default event: CPU_CYCLES:100000:0:1:1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
#...(do some activity, display strings on a LCD screen)...
# opcontrol --stop
error: no sample files found: profile specification too strict ?
# more /var/lib/oprofile/samples/oprofiled.log
oprofiled started Tue Sep 8 13:29:27 2009
kernel pointer size: 4
Tue Sep 8 13:39:27 2009
-- OProfile Statistics --
Nr. sample dumps: 4
Nr. non-backtrace samples: 0
Nr. kernel samples: 0
Nr. lost samples (no kernel/user): 0
Nr. lost kernel samples: 0
Nr. incomplete code structs: 0
Nr. samples lost due to sample file open failure: 0
Nr. samples lost due to no permanent mapping: 0
Nr. event lost due to buffer overflow: 0
Nr. samples lost due to no mapping: 0
Nr. backtraces skipped due to no file mapping: 0
Nr. samples lost due to no mm: 0
---- Statistics for cpu : 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0