search for: dtrace_probes

Displaying 5 results from an estimated 5 matches for "dtrace_probes".

Did you mean: dtrace_probe2
2008 Mar 11
6
Bad instruction on x86_64 build on OS X with DTRACE_PROBE
I was looking at mod_trace (http://prefetch.net/projects/apache_modtrace/index.html ) and playing with getting it to compile on OS X. When building for x86_64 with -arch x86_64 we get bad instructions generated: gcc -o foo -arch x86_64 foo.c /var/folders/rV/rV1x2DafFr0R6tGG+1bbk++++TM/-Tmp-//ccnykQ1o.s:11:bad register name `%%esi)'' Using gcc -S I can definitely see we are not
2007 Sep 05
4
a piece of code in dtrace pseudo device
Dear all: In dtrace.c, function dtrace_probe_create(), there''re a piece of code: id = (dtrace_id_t)(uintptr_t)vmem_alloc(dtrace_arena, 1, VM_BESTFIT | VM_SLEEP); id is uint32_t, and I think id is used as an index to array dtrace_probes[] but why not just use id = cur_value + 1, cur_value is a global variable to record the lastest id? Is this a trick? for what? Thanks :) Regards, TJ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachment...
2008 Oct 30
7
Is there any way to check if DTrace is running or a DTrace probe is enabled?
Hi, I am adding DTrace probes within NFS v3 client. In my current implementation, I use some tsd_*() functions and kmem_zalloc() function. These functions might be heavy and affect the performance. I want to call this function only when DTrace is running or the DTrace probes are enable. So is there a way to check DTrace is running or DTrace probe is enabled? Regards, Danhua
2005 Sep 28
4
A document about implementing dtrace probes in SAX
...y Angelo and Jignesh, I have created a small document (5 pages) describing our experience with it, together with some problems we have encountered and some scripts we use for pretty-printing dtrace outputs. The said document can be found at ftp://ftp.tor.soliton.com/pub/SAXreleases/BetaRelease/dtrace_probes_in_sax.pdf and there are also dtrace-enabled distributions of SAX there: ftp://ftp.tor.soliton.com/pub/SAXreleases/BetaRelease/sax621-sunos510dtrace-sparc.tar.bz2 and ftp://ftp.tor.soliton.com/pub/SAXreleases/BetaRelease/sax621-sunos511dtrace-x86.tar.bz2 for SPARC (Solaris 10) and x86 (snv_22...
2009 May 29
4
can Dtrace be used for the error injection?
Hi, is it somehow possible to use Dtrace for error injection in a kernel module? Something like changing: - function return value - value of a register If not, can it be implemented? I can do that via kmdb, but I need Dtrace for the time synchronization - chill() action. I can not combine Dtrace & kmdb: dtrace: failed to initialize dtrace: DTrace cannot be used when kernel debugger