Displaying 5 results from an estimated 5 matches for "dtrace_prob".
Did you mean:
dtrace_proc
2008 Mar 11
6
Bad instruction on x86_64 build on OS X with DTRACE_PROBE
...uilding 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 generating correct code:
LCFI1:
__dtrace_probe$6_foo___probe__noargs:
nop
leal 0(%%esi), %%esi
Building with -arch i386 works, DTRACE_PROBE1, etc also seem to work
on OS X based on the building mod_trace.
I attach a simple reproducer, changing the Makefile to build with -
arch i386 works. Simply extract onto a Leopard b...
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 las...
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_2...
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