Re: [dtrace-discuss] Error DIF offset

2008-10-29 Thread michael schuster
Wesley Naves de faira wrote: What is problem in this script ? One of the pointers you're dereferencing is NULL. #!/usr/sbin/dtrace -s #pragma D option quiet fbt:ip:tcp_conn_request:entry { self-connp = (conn_t *)arg0; self-tcp = (tcp_t *)self-connp-conn_tcp;

Re: [dtrace-discuss] C preprocessor issues - how can I help?

2008-10-29 Thread Adam Mitchell
Thanks. This works on my dev box running [dtrace: Sun D 1.3]. I ran the whole DTrace script through cpp (with all the preserved flags that dtrace would have used to invoke cpp) and the output will run stand-alone now (no cpp needed). Our prod hosts are a little behind. They have [dtrace: Sun