[GEM-dev] Re: [PD-dev] oprofile - streamlining Pd/gem patch

B. Bogart ben at ekran.org
Mon May 15 23:20:28 CEST 2006


Hey gem devs,

How can I compiled gem without striping it?

I'm having trouble trying to use oprofile to profile the gem functions, it
seems to just see the internal pd functions.

I tried removing the "strip" from the Makefile after doing
autoconf/configure but that does not seem to be doing anything.

So I'm starting profile with:

opcontrol -i /path/to/pd --start

Stoping with:

opcontrol --shutdown

Looking at the results with:

opreport -d

How can I compile a Gem binary (on linux) so that I can profile with
oprofile?

Thanks all. I'll think I'll be giving up soon, will be back at it again
tommorrow, I really need to figure out what is causing these CPU jumps...

.b.

On Mon, May 15, 2006 1:17 pm, Tim Blechmann said:
>
>
>> Thanks tim, how do I compile an unstriped binary? (./configure
>> --enable-debug?)
>
> profiling with debugging might produce wrong results ... i guess you can
just remove the "strip" call from the makefile ...
>
> t
>
> --
> TimBlechmann at gmx.de    ICQ: 96771783
> http://www.mokabar.tk
>
> Desperation is the raw material of drastic change. Only those who can
leave behind everything they have ever believed in can hope to escape.
>   William S. Burroughs
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>








More information about the GEM-dev mailing list