opcontrol sh: write error: Invalid argument

Andrew Jones <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
Hi Everyone,

Recently I cross-compiled Oprofiler for MIPS.
When  I run --start, I'm getting 'write error'.  Details are below:

# pwd
/root
# export OPROFILE_EVENTS_DIR=/root
# ./opcontrol --deinit
dump fail: daemon died during last run ?
Detected stale lock file. Removing.
# ./opcontrol --no-vmlinux
# ./opcontrol --reset
# ./opcontrol --init
# ./opcontrol --event=CYCLES:1000:0:1:1
# ./opcontrol --status
Daemon not running
Session-dir: /var/lib/oprofile
Event 0: CYCLES:1000:0:1:1
Separate options: none
vmlinux file: none
Image filter: none
Call-graph depth: 0
# ./opcontrol --start
sh: write error: Invalid argument
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.


Unfortunately my sh isn't giving me a line number along with that error.
Any help would greatly appreciated.

oprofiled.log:
oprofiled started Tue Nov 30 00:46:05 1999
kernel pointer size: 4
Failed to exec opjitconv: No such file or directory
oprofiled: open of /var/lib/oprofile/samples//current/{root}//bin/busybox/{dep}/{root}//bin/busybox/INSTRUCTIONS.100000.0.all.all.all failed: Invalid argument
...


Thankyou so much!
Andrew

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.