Oprofile: gprof compatible output

Hi, i’m running oprofile on opensuse 11.1. However, the result from oprofile is just too technical for me to understand. i found out that we can use opgprof which produces a gmon.out file for use with gprof -p. However, being new to linux, i’m kinda confused with the instruction given in the oprofile manual. Does anyone has experience working with oprofile and knows where they put the binary after profiling? and how can i use this opgrof command?

frangipani wrote:
> being new to linux, i’m kinda confused with the instruction
> given in the oprofile manual. Does anyone has experience working with
> oprofile and knows where they put the binary after profiling? and how
> can i use this opgrof command?

-WELCOME- to open source in general and openSUSE Linux more specifically…

hmmmm…i’ve used Linux for years and years and never needed to
“profile” my system’s running code, and wonder if you really do, and why?

i’d guess if you actually need to profile running code on Linux then
you ought to have enough technical knowledge to do so easily…and,
if not then you probably need to embark on a self-education climb up
the learning curve WHILE you await someone with direct experience to
stumble on this thread and help you understand the docs/faq at
http://oprofile.sourceforge.net/

you might want to begin your self education reading some free books,
here: http://tinyurl.com/r3wrcr/

my favorite there is: http://rute.2038bug.com/ because it is very
generic (covers the basics of all Linux distros and almost none of the
specifics that set the distros apart from one another) and it is laid
out so that you can begin on page one and read to the end in a logical
knowledge building process…[which means if you begin in chapter four
(Basic Commands) you will already wonder what they are talking about…]

and, maybe you could cut short your wait time by expanding the
population of those who might happen on your problem from JUST
openSUSE users HERE, to ALL Linux users who have used oprofile on a
specialized mail list at http://oprofile.sourceforge.net/mail/

good luck, and hang around, perhaps a oprofile guru comes along in two
minutes…


goldie
Give a hacker a fish and you feed him for a day.
Teach http://is.gd/2BfI3 and you feed him for a lifetime.

Hi goldie,

thanks for the optimism and advice. i know i should know more on the technical side but i don’t exactly have the time to do so. I’m profiling the code for my work. we are doing hardware acceleration on few programs and need to know where the bottleneck is. anyways, i noticed that most threads on oprofile goes unanswered in other forums. wasnt expecting much actually. just trying my luck.

> most threads on oprofile goes unanswered in other forums. wasnt
> expecting much actually. just trying my luck.

good luck in your task…sorry i couldn’t help…perhaps you need to
try to get ‘in’ with the “real hackers”…maybe nose around in these
until you find an interesting looking mail list or IRC channel:

http://en.opensuse.org/Development
http://software.opensuse.org/developer
http://news.opensuse.org/2009/08/24/opensuse-11-2-milestone-6-released/
http://en.opensuse.org/11.2


platinum