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

Re: Poor thread performance on Linux vs. Solaris



On Mon, Sep 08, 2003 at 02:39:56PM -0700, Perez-Gonzalez, Inaky wrote:
> > Now - how to distinguish between these locks in the oprofile results?  Can
> > I add a few helper files that just contain functions to acquire/release
> > one lock (assuming one .text.lock section is created per file)?  For
> > instance, futex_vcache_lock.c, futex_page_table_lock.c, etc?
> 
> That is what I was trying to do with that patch; unfortunately, the __FILE__
> breaks it beyond repair because the assembler does not accept the slash for
> a section name [not that I blame it :)]--anyone knows some CPP voodoo for
> fixing that? 

__BASE_FILE__ should do what you want.... more or less.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer




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