> That paragraph makes lots of sense - I wish it could be included
> somewhere.

Posting patches to utrace.tmpl is entirely welcome!

> So, basically, you do something like this:
> 
>       rc = utrace_control(t, engine, UTRACE_STOP);
>       if (rc == -EINPROGRESS) {
>               rc = utrace_control(t, engine, UTRACE_INTERRUPT);
>       }

Right.  But only if you want to cause anomalies in the task you are
tracing.  I would not want to show this as any "canonical example" of the
usual way to do a stop.  The norm we expect everyone to want is noninvasive
tracing.  UTRACE_INTERRUPT should never be used casually.


Thanks,
Roland

Reply via email to