Re: [oprof-cvs] Oprofile on mapreduce task

William Cohen <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On 08/14/2014 07:06 PM, Tommy wrote:
> Hi,
> 
> I am trying to profile mapreduce task using operf.
> I have some troubles with getting correct symbols of java threads.
> 
> What I did was to operf the tasktracker which spawns map and reduce tasks (threads).
> I did like the following to start the tasktracker.
> *operf /usr/lib/jvm/java-oracle/bin/java -agentlib:jvmti_oprofile ......*
> 
> However, only the tasktracker thread gets the correct symbols for all addresses. I found that only one ".jo" file is created for the tasktracker, not the child threads that inherit the tasktracker, such as map and reduce tasks. All the child threads get "anon".
> 
> Please help me to resolve the issue.
> Thank you very much.
> 
> 
> ------------------------------------------------------------------------------

Hi Tommy,

This email should be on [email protected] .  The [email protected] is an mailing list that tracks source code checkins for oprofile and most people are not going to be reading it.

There are a couple patches that might address the problem:

http://sourceforge.net/p/oprofile/oprofile/ci/2d60e8a980bbbaa62aeb1346827592092bc0743e/
http://sourceforge.net/p/oprofile/oprofile/ci/eb75586eed1d105a22b12d879a31ec32d6a94913/

-Will

------------------------------------------------------------------------------
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.