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 6/25/13 10:38 AM, Matt Thomas wrote:

I added an inline to <sys/syscall.h>.

int sy_invoke(const struct sysent *, struct lwp *, const void *, register_t *,
        int code);

which does the trace_enter/trace_exit dance, that can be modified to do
the dtrace dance as well.


Diff updated to use sy_invoke():

http://www.tastylime.net/netbsd/systrace9.diff

+j



Home | Main Index | Thread Index | Old Index