This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/16291] feature request: provide simpler ways to compute stack and tls boundaries


https://sourceware.org/bugzilla/show_bug.cgi?id=16291

--- Comment #30 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Sergey Matveev from comment #29)
> Callbacks are a natural fit for this. If glibc cooperates by calling our
> callbacks immediately after a DTLS block allocation and immediately before
> deallocation, and the callbacks record those events atomically, then we can
> freeze the thread at an arbitrary point and be sure that our record of what
> the DTLS looks like is up-to-date.

Instead of a callback could we use a systemtap probe with the right arguments?
We have precedent set for adding probes to libc and it would be easy to do with
the current infrastructure and low-overhead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]