tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DTrace syscall provider - please test/comment



On Jun 24,  6:12pm, matt%3am-software.com@localhost (Matt Thomas) wrote:
-- Subject: Re: DTrace syscall provider - please test/comment

| 
| On Jun 24, 2013, at 6:01 PM, Christos Zoulas <christos%astron.com@localhost> 
wrote:
| 
| > Can't this be done as an addition/enhancement to the trace_enter()/
| > trace_exit() facility instead of having to enter each syscall entry?
| 
| that only gets called if p->p_trace_enabled is set.  So now you need
| a hook to set that on every lwp switch if the provider is tracing.

Right, and it (dtrace) can set a different (or the same flag) to enable
it.

christos


Home | Main Index | Thread Index | Old Index