Gentoo Archives: gentoo-user

From: Donnie Berkholz <spyderous@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenGL problem after xorg upgrade
Date: Tue, 04 Jul 2006 04:55:56
Message-Id: 44A9F235.8010402@gentoo.org
In Reply to: Re: [gentoo-user] OpenGL problem after xorg upgrade by Donnie Berkholz
1 Donnie Berkholz wrote:
2 > To get oprofile going, build the kernel module (it's included in the
3 > main kernel, just enable it -- CONFIG_PROFILING in Instrumentation), run
4 > `make vmlinux` in /usr/src/linux, emerge oprofile, then run this little
5 > script like this:
6 > ./oprof someapp
7 >
8 > It will start profiling, and stop when you quit that app. Make sure you
9 > run it long enough so that the app's startup stuff isn't the primary
10 > thing you profile; you want to profile the runtime slowdowns.
11
12 One more note, oprofile will profile _everything_ your computer is
13 doing, so make sure you are doing as little as possible that you don't
14 want to end up in the results.
15
16 Thanks,
17 Donnie

Attachments

File name MIME type
signature.asc application/pgp-signature