Hi,

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,
Marc Titinger.


I use the default event selection and did not restrict to any image, here's the daemonrc file :

SESSION_DIR=/var/lib/oprofile
NR_CHOSEN=0
SEPARATE_LIB=0
SEPARATE_KERNEL=0
SEPARATE_THREAD=0
SEPARATE_CPU=0
VMLINUX=/vmlinux
IMAGE_FILTER=
CPU_BUF_SIZE=0
CALLGRAPH=0
KERNEL_RANGE=c0023000,c034f000
XENIMAGE=none

Here's what I'm trying (I added some traces to check that the ko is loaded) :

# opcontrol --vmlinux=/vmlinux
oprofile_init
oprofile: using arm/armv6
oprofile_arm_create_files

# 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
Daemon started.
oprofile_start
armv6_pmu_start
Profiler running.

#...(do some activity, display strings on a LCD screen)...

# opcontrol --stop
Stopping profiling.
oprofile_stop
armv6_pmu_stop

# opreport      
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
Received SIGHUP.

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