Fwd: Profiling Xorg

Pat Kane pekane52 at gmail.com
Thu Aug 12 09:32:00 PDT 2010


BTW, here is an interesting line from the Bugs section of the manual:

       The  profiled  program  must  call "exit"(2) or return normally for the
       profiling information to be saved in the gmon.out file.

Pat
---

On Thu, Aug 12, 2010 at 11:26 AM, Pat Kane <pekane52 at gmail.com> wrote:
> The NetBSD gprof(1) man page says to use the  -pg  flag:
>
>       http://netbsd.gw.com/cgi-bin/man-cgi?gprof+1+NetBSD-current
>
> On Thu, Aug 12, 2010 at 12:43 AM, Daniel Stone <daniel at fooishbar.org> wrote:
>> On Thu, Aug 12, 2010 at 07:17:36AM +0200, Matthew Fincham wrote:
>>> I sent the email below to the Xorg mailing list, but haven't had a
>>> response. Can anyone point me in the right direction for profiling
>>> Xorg?
>>
>> I can't really help you with NetBSD not supporting sysprof or oprofile,
>> but to do a -g build, just pass CFLAGS=-g or whatever to ./configure.
>>
>> Cheers,
>> Daniel
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEARECAAYFAkxjig8ACgkQUVYB1rKAgJTIawCdEgLmDFyrh3XwUendK2bN6sLd
>> RqQAnRTeSHR90rRsoOEfFw2sYmqnZBoN
>> =NbJN
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> xorg-devel at lists.x.org: X.Org development
>> Archives: http://lists.x.org/archives/xorg-devel
>> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>>
>


More information about the xorg-devel mailing list