From: Richard D. <rde...@ar...> - 2009-08-04 14:12:05
|
Hi Cyrill, it is a 2.6 kernel in an embedded system, kernel and libraries built specifically for this system. No, I didn't encounter the message "Call-graph profiling unsupported on this kernel/hardware". Richard Maucci, Cyrille schrieb: >Hi Richard, > >When you invoke opcontrol ... --callgraph=3 ..., >Do you get such a message? > > >Call-graph profiling unsupported on this kernel/hardware > > >If yes, the reason why you don't have call-graph is obvious and you need to get a kernel with call-graph support. You can achieve this by either getting a 2.6+ kernel or I know that there are also some 2.4.x kernel patches. > >What does 'uname -a' say on your system? > >++Cyrille > >-----Original Message----- >From: Richard Dengler [mailto:rde...@ar...] >Sent: Tuesday, August 04, 2009 3:27 PM >To: opr...@li... >Subject: Unable to get a callgraph > >Hi, > >In spite of of using "--callgraph=3" for opcontrol I only get a flat >profile under >x86 and PowerPC. The commands I use are: > > opcontrol --no-vmlinux --start --callgraph=3 --separate=lib >--session-dir=${LOG_DIR} --image=${EXECUTABLE} > opreport --session-dir=${LOG_DIR} --callgraph > >The oprofile version is 0.94. >Opcontrol output contains pairs of entries, one with [self] and one without >(I don't have the output available at the moment). > >The opcontrol manpage says: > "This option is available on x86 using a 2.6+ kernel with callgraph >support enabled." > "It is also available on PowerPC using a 2.6.17+ kernel." > >I see that a lot of time is spent in glibc, but can't figure out, from >where this is called. >How do I enable callgraph support in the kernel? What else may be wrong? > >Thanks for any hints > >Richard > >------------------------------------------------------------------------------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >trial. Simplify your report design, integration and deployment - and focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >oprofile-list mailing list >opr...@li... >https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > |