Re: memprof trouble on debian



Michael Meeks <michael ximian com> writes:

> Hi Owen,
> 
> On Thu, 2002-10-03 at 17:33, Owen Taylor wrote:
> > The i386 asm isn't the (main) reason why it is an i386-only, app, but
> > yes, it is an i386 only app.
> 
> 	Speaking of which - did you poke at the 2 patches in:
> 
> 		http://bugzilla.gnome.org/show_bug.cgi?id=90195
> 
> 	Which makes it somewhat more portable to Solaris, switching to GThread
> for locking, and using Posix signatures.

But what's the point? It might make it compile on Solaris, but is it going
to _work_ on Solaris? Linux-specific stuff in MemProf is very extensive...

I guess the straightforward profiling stuff might have half a chance if you
figured out how to do backtraces on SPARC, but the memory leak stuff would
take a lot more work.

(The locking stuff should be easier to adopt for Solaris now -- all you
need to do is provide an implementation of mi_atomic_increment() and
mi_atomic_decrement())

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]