[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    Re: gets error while running opcontrol
From:       Maynard Johnson <maynardj () us ! ibm ! com>
Date:       2009-12-09 15:31:40
Message-ID: 4B1FC2DC.9040001 () us ! ibm ! com
[Download RAW message or body]

Ravi Shekhar wrote:
> Hi 
> 
> 
> When I run opcontrol script on my board(its mpc 8313 proecessor) , i get 
> following errors :
> 
> # ./opcontrol --start --session-dir=/home/ravs/works/tmpsession/ 
> --image=fwupgra
> de --verbose=all --separate=all
> ./ophelp: line 1: syntax error: unexpected word (expecting ")")
> Parameters used:
> SESSION_DIR /home/ravs/works/tmpsession/
> LOCK_FILE /home/ravs/works/tmpsession//lock
> SAMPLES_DIR /home/ravs/works/tmpsession//samples
> CURRENT_SAMPLES_DIR /home/ravs/works/tmpsession//samples/current
> CPUTYPE timer
> BUF_SIZE default value
> BUF_WATERSHED default value
> CPU_BUF_SIZE default value
> SEPARATE_LIB 1
> SEPARATE_KERNEL 1
> SEPARATE_THREAD 1
> SEPARATE_CPU 1
> CALLGRAPH 0
> VMLINUX none
> KERNEL_RANGE
> XENIMAGE none
> XEN_RANGE
> executing oprofiled --session-dir=/home/ravs/works/tmpsession/ 
> --separate-lib=1 --separate-kernel=1 --separate-thread=1 --sep
> arate-cpu=1 --no-vmlinux --image=fwupgrade --verbose=all
I don't see any events being passed to oprofiled, but even if you were in timer mode, \
we should see "--events=" argument being passed.
> ./oprofiled: line 1: syntax error: unexpected "(" (expecting ")")
> RVS : FAILS HERE
> Couldn't start oprofiled.
What version of oprofile are you running?  Did you build/install it yourself or is it \
from a distro?  Please paste in the "do_start_daemon()" function from the opcontrol \
script in your reply.

Thanks.
-Maynard
> Check the log file "/home/ravs/works/tmpsession//samples/oprofiled.log" 
> and kernel syslog
> 
> 
> I checked for log file also but did not get any .. Can anyone please help 
> me to find out what exactly the problem is?
> 
> 
> Thanks 
> -- RavS
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic