This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: uprobes: keep thread blocked after the handler returns
- From: Roland McGrath <roland at redhat dot com>
- To: "David J. Wilder" <dwilder at us dot ibm dot com>
- Cc: Octavian Purdila <tavi at cs dot jhu dot edu>, systemtap at sourceware dot org
- Date: Thu, 2 Aug 2007 14:19:01 -0700 (PDT)
- Subject: Re: uprobes: keep thread blocked after the handler returns
> Why not just prevent the handler from returning until you want the
> thread to unblock? The handler could sleep on something trigger from
> user space.
That is a no-no for a utrace callback. It prevents other tracing
facilities from doing anything useful.