From: Maynard J. <may...@us...> - 2011-03-28 14:03:17
|
shiva prasada.m.a wrote: > Hi Maynard, No private emails, please. Do a "reply all" to list postings so that everyone on the list can see your questions and the answers (also gives others on the list an opportunity to answer). > > Thank you for spending your valuable time to clarify my doubt. > > I have some doubts regarding oprofile. > > I am using 0.9.6 version of oprofile on a 2.6.14 kernel with PPC970MP > architecture. > > 1. In what all contexts one can get an anonymous symbol in opreport output? Without the Java JIT support available in oprofile, the JITed code appears as anonymous samples, since JVM compiles the bytecode into anonymous memory mappings that it creates, and then branches to that location in memory where the compiled code has been placed. > > 2. I am getting only one level when I run a callgraph. What could be the > reason for this? See section "2.3.2. Callgraph and JIT support" in the oprofile manual. > > 3. My application is completely written in C++. But I am still getting > anonymously mapped symbols. What could be the reason for this? What? I'm confused. Then why are you asking bout JITed code? Setting aside that confusion for the moment . . . How are you running oprofile -- i.e., are you specifying the "--image" option with opcontrol? How are you generating the profile report? Are you passing the name of your application to opreport to use as an image spec? If you're not using one of these techniques, then oprofile will collect a system-wide profile and opeport will generate a report for EVERYTHING running on the system. I suggest you read the documentation to see how oprofile works and the various control knobs available to users. -Maynard > > Thanks and Regards, > Shivaprasada.M.A > > On 25 Mar 2011 21:00, "Maynard Johnson" <may...@us...> wrote: > > On 03/25/2011 6:44 AM, shiva prasada.m.a wrote: >> >> Hi all, >> >> I have a very silly doubt. >> >> My do... > No. You only need a JDK if you need to build oprofile. (The oprofile build > needs to have access to some JDK header files.) For actual use of the Java > JIT profiling feature, all you need is a JRE. > > -Maynard > >> >>> Thanks and Regards, >>> Shivaprasada.M.A >>> >>> >>> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> >> >> >> _______________________________________________ >> oprofile-list mailing list >> opr...@li... >> https://lists.sourceforge.net/lists/listinfo/oprofile-list >> > |