[PATCH] Adding systemtap probe points in pthread library (slightly revised again)

Roland McGrath roland@redhat.com
Fri Feb 4 19:25:00 GMT 2011


> > I see.  No such code should be actually using these macros.  But it may
> > wind up indirectly including lowlevellock.h for some reason.  Is that
> > what you saw?  Please cite the particular compilation errors you saw.
> 
> That's exactly the issue in the first place - lowlevellock.h is
> indirectly included in many places. Without the Makefile changes, IN_LIB
> is not defined for the non-library modules.

I've fixed that problem differently in the branch.  It should now bomb
out--as we want it to--if any macros containing probes are actually used in
files that don't define IN_LIB, but won't just because of #include chains.


Thanks,
Roland



More information about the Libc-alpha mailing list