Compiled oprofile
with this option. Compiles fine..
./configure --host=powerpc-linux-gnuspe
--with-kernel-support --with-extra-libs=/opt/vs/work/oprofile/coray/usr/lib/
--with-extra-includes=/opt/vs/work/oprofile/coray/usr/include/ --prefix=$PWD/tgt
--exec-prefix=$PWD/tgt
After
moving the binaries to target..
TBOS:>opcontrol --start
oprofile: could not open unit mask
description file
/home/vsubbiah/work/oprofile/oprofile-0.9.2/tgt/share/oprofile//ppc/e500/unit_masks
Using
default event: CPU_CLK:100000:0:1:1
oprofile: could not open unit mask
description file
/home/vsubbiah/work/oprofile/oprofile-0.9.2/tgt/share/oprofile//ppc/e500/unit_masks
TBOS:>ls -al
/share/oprofile/ppc/e500/unit_masks
-rw-r--r-- 1
161747
25 84
Oct 5 2006
/share/oprofile/ppc/e500/unit_masks
TBOS:>
/home/vsubbiah/work/oprofile/oprofile-0.9.2/tgt is
ofcourse $PWD/tgt. Can't figure what configure option I can use so that it is
going to lokk for this in the right place. Appreciate any
hints
Thx,
Venkat