RE: opcontrol sh: write error: Invalid argument

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

> Date: Mon, 9 Feb 2015 10:46:48 -0500
> From: [email protected]
> To: [email protected]; [email protected]
> Subject: Re: opcontrol sh: write error: Invalid argument
> 
> On 02/09/2015 04:31 AM, Andrew Jones wrote:
> >> Hi Andrew,
> >>
> >> What version of the kernel is being used on the target? Is it a new enough kernel to have perf support and allow the use of "operf -a" rather than opcontrol?
> >> Using operf instead might avoid some of these issues with opcontrol.
> > 
> > Hi Will,
> > 
> > I'm running Linux 2.6.27.18.  I don't see 'operf' in the outputted binaries from oprofile-0.9.9.
> 
> Hi Andrew,
> 
> I think that 2.6.27.18 kernel is probably too old to have the kernel perf support.  OProfile 0.9.9 should have the source code for operf, but it isn't building because the configure doesn't find the needed kernel support.  Looks like with this kernel the oprofile driver and opcontrol are the only way to go.  This also means that this machine will need to stick with oprofile-0.9.9 because oprofile-1.0 removes opcontrol. I am curious how resource constrained is this MIPS system (MHz, RAM, FLASH)?

Hi Will,

CPU: 600 MHz MIPS32® 74K™ core (single core)
RAM: 128MBytes DDR2 SDRAM
FLASH: 64MBytes


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.