[dtrace-discuss] Fwd: Custom macros in USDT probes

2009-03-26 Thread Amit Saha
Forwarding it to the list.. Any ideas, all ? -- Forwarded message -- From: Amit Saha amitsaha...@gmail.com Date: 2009/3/26 Subject: Custom macros in USDT probes To: Adam Leventhal a...@eng.sun.com Hello Adam, In

[dtrace-discuss] all variants of tcpsnoop fails on snv107

2009-03-26 Thread Joachim Worringen
Greetings, I'm using DTT 0.99 on a snv_107 box, and tcpsnoop fails in all variants (tcptop in the same way). Couldn't find related postings - is this a new problem? thanks, Joachim r...@sunf-7:/opt/DTT/Net# uname -a SunOS sunf-7 5.11 snv107 i86pc i386 i86pc r...@sunf-7:/opt/DTT/Net#

[dtrace-discuss] DTrace in daemon code

2009-03-26 Thread Michael Schuster
All, we're considering instrumenting the daemon we're developing for our project with SDT probes, and were a little surprised that a few cursory(sp?) searches didn't reveal any examples for this - does that mean a) we didn't search enough b) we're treading where no man has gone before c)

Re: [dtrace-discuss] DTrace in daemon code

2009-03-26 Thread Rayson Ho
Hi, A deamon is a *normal* process. The controling terminal, and other stuff may be thrown away during the daemonization process, but DTrace should still work. As an example, MySQL also uses SDT, and MySQL is run as a daemon as well. Rayson On 3/26/09, Michael Schuster

Re: [dtrace-discuss] DTrace in daemon code

2009-03-26 Thread Michael Schuster
Rayson Ho wrote: Hi, A deamon is a *normal* process. The controling terminal, and other stuff may be thrown away during the daemonization process, but DTrace should still work. I know, that's why I'm a little surprised that I couldn't find any examples. As an example, MySQL also uses SDT,

Re: [dtrace-discuss] Introducing DTrace to a newbie audience

2009-03-26 Thread Jim Mauro
# dtrace -qn 'syscall:::exec-success { trace (execname); }' ^ The exec-success probe is managed by the proc provider, not the syscall provider. So the probe designation should be; proc:::exec-success (or just 'exec-success'). (for