Hi,

I am trying to do passive profiling of domains in xen. kernel is 2.6.18-128.1.1.el5xen.
I am not getting the domain samples. Below is the oprofiled.log. Samples are being lost due to no mapping and no mm. Can anyone suggest what could be the problem?
When I start the daemon i get the following error but the daemon starts.
opcontrol --start-daemon --passive-domains=1,2,3,4,5 
/usr/bin/opcontrol: line 1275: echo: write error: Invalid argument
/usr/bin/opcontrol: line 1118: echo: write error: Invalid argument
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.

This is the oprofiled.log file
Nr. sample dumps: 1
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: 719552
Nr. backtraces skipped due to no file mapping: 0
Nr. samples lost due to no mm: 2467472
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0

Thanks,
Bhavani