Hello Xenoprof Users,
Can someone please verify
the steps to get a oprofile session profile multiple sessions? I am using a
file VBD for spawning two guest OS domains on the host. I am doing the
following:
1.) On dom0
Opcontrol
--xen=/boot/xen-syms-blah
2.) On domU domID: 41
Opcontrol
--vmlinux=/boot/vmlinux-2..blah
3.) On domU domID: 42
Opcontrol
--vmlinux=/boot/vmlinux-2..blah
4.) On dom0
Opcontrol --start-daemon
--active-domains=41,42
5.) On domU, 41
Opcontrol --reset
Opcontrol --start
Error:
Using default event: CPU_CLK_UNHALTED:100000:0:1:1
Using 2.6+ OProfile kernel interface.
Reading module info.
Failed to open profile
device: Operation not permitted Couldn't start oprofiled.
Check the log file
"/var/lib/oprofile/oprofiled.log" and kernel syslog
6.) On domU, 42
Opcontrol --reset
Opcontrol --start
Error:
Using default event:
CPU_CLK_UNHALTED:100000:0:1:1 Using 2.6+ OProfile kernel interface.
Reading module info.
Failed to open profile
device: Operation not permitted Couldn't start oprofiled.
Check the log file
"/var/lib/oprofile/oprofiled.log" and kernel syslog
7.) On dom0
Opcontrol --reset
Opcontrol --start
This works...
Thanks,
Nikhil