Re: Revisiting DTrace syscall provider

2015-03-07 Thread Ryota Ozaki
On Sat, Mar 7, 2015 at 6:10 AM, Christos Zoulas chris...@astron.com wrote: In article cakryomg6z8scuvmzqmfk+n09n+1xfniznc4fac59zxoaljo...@mail.gmail.com, Ryota Ozaki ozak...@netbsd.org wrote: Anyway I updated my patches; they're based on latest -current. Changes since the previous are: -

Re: Revisiting DTrace syscall provider

2015-03-06 Thread Christos Zoulas
In article cakryomg6z8scuvmzqmfk+n09n+1xfniznc4fac59zxoaljo...@mail.gmail.com, Ryota Ozaki ozak...@netbsd.org wrote: Anyway I updated my patches; they're based on latest -current. Changes since the previous are: - Remove an unexpected contribution comment from kern_dtrace.c (thanks riastradh!)

Re: Revisiting DTrace syscall provider

2015-03-06 Thread Taylor R Campbell
Date: Fri, 6 Mar 2015 21:10:42 + (UTC) From: chris...@astron.com (Christos Zoulas) 2. I did not create the args union to deal with signed/unsigned, chose to mimick what FreeBSD does. Do you prefer your way? I think I had suggested this to riz@ originally, to

Re: Revisiting DTrace syscall provider

2015-02-25 Thread Ryota Ozaki
Anyway I updated my patches; they're based on latest -current. Changes since the previous are: - Remove an unexpected contribution comment from kern_dtrace.c (thanks riastradh!) - Don't unload systrace.kmod when there are users using dtrace - Add created from line to *_systrace_args.c

Re: Revisiting DTrace syscall provider

2015-02-24 Thread Paul Goyette
On Wed, 25 Feb 2015, Ryota Ozaki wrote: On Wed, Feb 25, 2015 at 2:38 PM, Paul Goyette p...@vps1.whooppee.com wrote: On Wed, 25 Feb 2015, Paul Goyette wrote: modules that provide sys-calls. Without the module loaded, the syscall entry point is known no-op; when the module tries to unload,

Re: Revisiting DTrace syscall provider

2015-02-24 Thread Ryota Ozaki
On Wed, Feb 25, 2015 at 3:25 PM, Paul Goyette p...@vps1.whooppee.com wrote: On Wed, 25 Feb 2015, Ryota Ozaki wrote: On Wed, Feb 25, 2015 at 2:38 PM, Paul Goyette p...@vps1.whooppee.com wrote: On Wed, 25 Feb 2015, Paul Goyette wrote: modules that provide sys-calls. Without the module

Re: Revisiting DTrace syscall provider

2015-02-23 Thread bch
Are there plans (and roadmap?) to user-space dtrace abilities in NetBSD -- currently we're not exporting a certain header (and required code support?) for userland dtrace support; kernel-only, as I understand. Is my understanding correct? -bch On 2/23/15, Ryota Ozaki ozak...@netbsd.org wrote:

Revisiting DTrace syscall provider

2015-02-23 Thread Ryota Ozaki
Hi, I'm trying DTrace syscall provider (systrace) patch provided by riz some years ago(*) to complete the work. (I'm already ack-ed the handover by him.) (*) https://mail-index.netbsd.org/tech-kern/2013/06/24/msg015296.html I needed some tweaks to make it work with -current, but it works (on