RE: opcontrol sh: write error: Invalid argument

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





> Hi,
> 
> Thanks for the output. The output above looks to match up with opcontrol do_param_setup():
> 
> 	if test "$KERNEL_SUPPORT" = "yes" -a -f $MOUNT/backtrace_depth; then
> 		set_param backtrace_depth $CALLGRAPH
> 
> However, the "test yes = yes" doesn't match up with the verion I have. Which specific versions of the kernel and oprofile are you using.  Do you have pointers to the specific sources for those?
> 
> -Will

Hi Will,

I'm using oprofile-0.9.9 from oprofile.sourceforge.net.   I did a 'diff' between oprofile-0.9.9/utils/opcontrol and the 
opcontrol script on my target (mips) system, and they're both identical.

The kernel I'm using is unfortunately chip-vendor (broadcom) supplied, and there's no public repository for it on the internet.  However, it's very close to mainline linux-2.6.27.18/ -- mostly modified under drivers/ and arch/mips/ to add support for their SoCs.

I have these kernel options enabled for profiling:
# zcat /proc/config.gz | grep prof -i
CONFIG_ARCH_SUPPORTS_OPROFILE=y
CONFIG_PROFILING=y
CONFIG_OPROFILE=y
CONFIG_HAVE_OPROFILE=y


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.