Re: [dtrace-discuss] C code function pointers and the dtrace pid provider

2007-12-05 Thread Adam Leventhal
On Wed, Dec 05, 2007 at 06:19:58PM +0100, [EMAIL PROTECTED] wrote: Thanks, Adam, even though this is unfortunate. If function pointer calls in C code can break pid provider this is a severe limitation on its usability. I would say any non-trivial C program makes use of function pointers ...

Re: [dtrace-discuss] Missing struct?

2007-12-05 Thread Jon Haslam
I knew the latter and forgot the former. Doesn't the timex struct count as a kernel structure? It is in the kernel, yes. However, we don't export the argument types for the syscall providers probes so you can't reference them through the typed args[] array. You can cast to this type as my

Re: [dtrace-discuss] Missing struct?

2007-12-05 Thread Nicolas Williams
On Wed, Dec 05, 2007 at 12:05:04PM -0500, Brian Utterback wrote: And just to make sure, if I want to see the values in the struct when ntp_adjtime returns, I need to do the copyin again, right? Or use fbt. ___ dtrace-discuss mailing list