On Sat, 21 Oct 2006 at 00:56 +0000, Yao Fei Zhu wrote:
> Hi, all,
>
> I tried with oprofile 0.9.1 and 0.9.2 both with a existing setup file
> /root/.oprofile/daemonrc,
> CHOSEN_EVENTS[0]=PM_BR_UNCOND_GRP43:500000:0:1:1
> CHOSEN_EVENTS[1]=PM_BR_PRED_TA_GRP43:500000:0:1:1
> CHOSEN_EVENTS[2]=PM_BR_PRED_CR_GRP43:500000:0:1:1
> CHOSEN_EVENTS[3]=PM_BR_PRED_CR_TA_GRP43:500000:0:1:1
> CHOSEN_EVENTS[4]=PM_RUN_INST_CMPL_GRP43:500000:0:1:1
> CHOSEN_EVENTS[5]=PM_RUN_CYC_GRP43:500000:0:1:1
> NR_CHOSEN=6
> SEPARATE_LIB=0
> SEPARATE_KERNEL=0
> SEPARATE_THREAD=0
> SEPARATE_CPU=0
> VMLINUX=/boot/vmlinux-2.6.19-rc2-pr28252
> IMAGE_FILTER=
> CPU_BUF_SIZE=0
> CALLGRAPH=0
> XENIMAGE=none
>
> But when issue "opcontrol --start", 0.9.1 version will start well, 0.9.2 will
> complains "No events given."
> instead.
.oprofile/daemonrc format has changed between 0.9.1 and 0.9.2 to
remove some specific bash features in opcontrol, you need to
$ opcontrol --setup -e etc.
to fix it.
--
Philippe Elie
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|