I have now upgraded the kernel to version
2.6.30. Unfortunately it has not made any difference and I still
get the same problem, namely all of my samples being lost. Have you got
any suggestions where to start looking for why these samples are being
Richard Purdie <rpurdie <at> rpsys.net>
|maynardj <at> us.ibm.com
|Mark.Pashley <at> selex-comms.com, oprofile-list <at> lists.sourceforge.net
|Re: Problems running oprofiled on embedded
arm - Invalid Argument in oprofiled
On Tue, 2009-08-11 at 11:07 -0500, Maynard Johnson wrote:
> Richard, as someone with embedded ARM experience, do you have any
> for Mark. Something must not be set up right.
Two things jump out at me:
> >> I am trying to run oprofile on an embedded arm platform,
the details are
> >> as follows:
> >> Kernel Version: 2.6.17
(it has been customised)
This is an old kernel...
> >> Repeats for most of the file, followed by....
> >> // ---------------
> >> Thu Aug 6 17:04:43 2009
> >> Nr. sample dumps: 41
> >> Nr. non-backtrace samples: 1245235
> >> Nr. kernel samples: 1025437
> >> Nr. lost samples (no kernel/user): 0
> >> Nr. lost kernel samples: 0
> >> Nr. incomplete code structs: 6
> >> Nr. samples lost due to sample file open failure: 6687
> >> Nr. samples lost due to no permanent mapping: 0
> >> Nr. event lost due to buffer overflow: 2081823
> >> Nr. samples lost due to no mapping: 4306
> >> Nr. backtraces skipped due to no file mapping: 0
> >> Nr. samples lost due to no mm: 0
> >> Nr. samples lost cpu buffer overflow: 67940
> >> Nr. samples received: 2334860
> >> Nr. backtrace aborted: 0
and there are *large* numbers of samples being lost here, probably all
of them. This would point to something in kernel space, not userspace
being the problem.
OProfile support on arm back in 2.6.17 wasn't well used and probably had
bugs so I'd start there. If you can't upgrade the kernel you need to
work out why the samples are all being lost.
This email and any attached files contains company confidential information which may be legally privileged. It is intended only for the person(s) or entity to which it is addressed and solely for the purposes set forth therein. If you are not the intended recipient or have received this email in error please notify the sender by return, delete it from your system and destroy any local copies. It is strictly forbidden to use the information in this email including any attachment or part thereof including copying, disclosing, distributing, amending or using for any other purpose.
In addition the sender excludes all liabilities (whether tortious or common law) for damage or breach arising or related to this email including but not limited to viruses and libel.
SELEX Communications Limited is a Private Limited Company registered in England and Wales under Company Number 964533 and whose Registered Office is Lambda House, Christopher Martin Rd, Basildon, SS14 3EL. England.