oprofile on mapreduce tasks (java)

Tommy <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CABooUW1h_Xk4_i-CQ8zxONb9X9EpcesZHMkSRG99F9isXftK4g@mail.gmail.com>
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.

Tommy

------------------------------------------------------------------------------

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