Re: [dtrace-discuss] dtrace-discuss Digest, Vol 80, Issue 6

2011-12-23 Thread Michael Ernest
gt; > > Ir. A. Adema BSc > e-mail: aron.ad...@gmail.com or > a...@famadema.com > GSM:+31 6 55687405 > > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachm

Re: [dtrace-discuss] dtrace-discuss Digest, Vol 75, Issue 8

2011-07-11 Thread Michael Ernest
Customer Services > >> > >> Log, update, and monitor your Service Request online using My Oracle > >> Support <http://www.oracle.com/us/support/044752.html> > >> > >> > >> ___ > >> dtrace-discuss mailing list > >> dtrace-discuss@opensolaris.org <mailto:dtrace-discuss@opensolaris.org> > > > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20110711/30ac0744/attachment.html > > > -- next part -- > A non-text attachment was scrubbed... > Name: oracle.jpg > Type: image/jpeg > Size: 8717 bytes > Desc: not available > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20110711/30ac0744/attachment.jpg > > > -- next part -- > An embedded and charset-unspecified text was scrubbed... > Name: CSET.d > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20110711/30ac0744/attachment.ksh > > > > -- > > ___ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org > > End of dtrace-discuss Digest, Vol 75, Issue 8 > * > -- Michael Ernest Inkling Research, Inc. ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Understand the dtrace quantize output (RAMASUBRAMANIAN Srikant)

2011-01-05 Thread Michael Ernest
. > Name: not available > Type: image/gif > Size: 5953 bytes > Desc: not available > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20110105/0c91ef92/attachment.gif > > > -- next part -- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/x-pkcs7-signature > Size: 5043 bytes > Desc: not available > URL: < > http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20110105/0c91ef92/attachment.bin > > > > -- > > ___ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org > > End of dtrace-discuss Digest, Vol 69, Issue 2 > * > -- Michael Ernest Inkling Research, Inc. -- Michael Ernest Inkling Research, Inc. ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtrace-discuss Digest, Vol 69, Issue 2

2011-01-05 Thread Michael Ernest
nsolaris.org/pipermail/dtrace-discuss/attachments/20110105/0c91ef92/attachment.html > > > -- next part -- > A non-text attachment was scrubbed... > Name: not available > Type: image/gif > Size: 5953 bytes > Desc: not available > URL: < > htt

Re: [dtrace-discuss] Mea culpa: Change to sched Provider wiki page

2010-06-05 Thread Michael Ernest
It turns out I have partially addressed bug #6537769: http://bugs.opensolaris.org/view_bug.do?bug_id=6537769 The current state of the bug report is 6-Fix Understood and has not been updated since July '08. One question I had was how a CPU caps example was best documented; either in the body o

Re: [dtrace-discuss] Old doc bug 6207856 and new bug (6958434)

2010-06-04 Thread Michael Ernest
After a deeper review of the tables in this section of wiki, I noticed the following more persnickety elements: The descriptions for the probes exec-failure and exec-success state that they fire "only after the exec probe has fired in the same thread." I am not aware of a case where one probe f

[dtrace-discuss] Old doc bug 6207856 and new bug (6958434)

2010-06-04 Thread Michael Ernest
ones, and remove the duplicate noted in 6207856. Bugster says a fix is in place for 6207856 but I gather it's fallen through the cracks. Michael -- Michael Ernest Inkling Research, Inc. ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

[dtrace-discuss] Mea culpa: Change to sched Provider wiki page

2010-06-03 Thread Michael Ernest
;s ok. My apologies for not following protocol. Regards, Michael -- Michael Ernest Inkling Research, Inc. ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Problem running dtrace on svn_132

2010-02-19 Thread Michael Ernest
The code that's barking is here: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_decl.c#926 The files in /usr/lib/dtrace read in environment values and translators for use by any DTrace program. As a workaround, you could probably rename this file or move i

Re: [dtrace-discuss] pgpgin problems

2010-02-19 Thread Michael Ernest
Thought I'd paste this in from the emails just for completeness' sake: The vmstat code does the following: a) get system pagesize b) bit-shift right by ten (thus 8192 reduces to 8, 4096 reduces to 4) c) defines a macro to multiply the bit-shifted value with the pgin count which renders a result

Re: [dtrace-discuss] probe order

2009-12-21 Thread Michael Ernest
Since DTrace buffers the information on a per-CPU basis, there's a chance on a multi-sumpn system that the buffers may be consumed out of turn. Your exiting stuff is recorded later, but every once in a while the buffer it was written to is consumed first, and so it looks like the events themselv

Re: [dtrace-discuss] probe order

2009-12-19 Thread Michael Ernest
Is this by any chance running on a multi-core system? -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtracing a forked process OR dynamic library

2009-11-19 Thread Michael Ernest
A system() invocation is governed by buffer switchrate. The system() action executes only when the containing buffer gets read. With default buffer policy and switchrate, almost a second could go by before that happens. So any process thread that fires the probe but terminates before the system(

Re: [dtrace-discuss] How to use DTrace to check/monitor the actual memory bus speed in Sun svr?

2009-09-18 Thread Michael Ernest
I would first try prtconf -v to see if the bus speed is listed as a property of the bus' driver. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtrace predicat

2009-09-18 Thread Michael Ernest
Thanks for spelling that out what you were working with. As a matter of style, splitting the test logic across probe declarations sure would be easier to read (and reread). All that opt_* test logic in one predicate requires the maintainer to understand the preamble. For example, when is OPT_c

Re: [dtrace-discuss] fbt with predicates and [O]Sol on VBox

2009-05-18 Thread Michael Ernest
It hangs Solaris in a way that I would guess is hard swapping. Then I left the predicate for the fbt probe off by accident, and it ran like a champ. Now I don't think it's caused by enabling too many probes. Add the predicate to the fbt, though, and it freezes. I didn't mention my -F for brevit

[dtrace-discuss] fbt with predicates and [O]Sol on VBox

2009-05-18 Thread Michael Ernest
I've been playing with a follow script example and getting a system hang every time. Turns out when I try: syscall::read:entry /execname == "ls" / { self->tr = 1; } fbt::: {} syscall::read:return /self->tr / { self->tr = 0; } I get (unusable) output. But when I add /self->tr / to my fbt::: clau

Re: [dtrace-discuss] Proposed addition to Scripting chapter

2009-04-22 Thread Michael Ernest
Thanks Adam. I thought there was a common theme that naturally brought the "lifecycle" probes and the flow control discussion together. Doesn't really work. I think some comment on program lifecycle in the scripting chapter is appropriate, but I don't know if it add much to what's already in th

[dtrace-discuss] Proposed addition to Scripting chapter

2009-04-21 Thread Michael Ernest
Here's a stab at including something on flow control in the wiki. I feel like it needs a killer example. Something less contrived than the profile loop and less complicated than what's in speculative tracing. Any ideas? Suggestions, improvements? *** Flow Control in D Programs The dtrace provi

Re: [dtrace-discuss] Do actions fire in order?

2009-04-20 Thread Michael Ernest
I agree, and posted an ECB-less version. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Unexpected behavior of 'self' in profile/tick probes

2009-04-18 Thread Michael Ernest
*** Incidentally, the I/O provider chapter doesn't ever explain why most of the examples use associative arrays instead of self. Worse, the second to last example actually does use self to communicate between io:::start and io:::end (that's a bug, right?). *** Did you mean io:::done? If so, I'm

Re: [dtrace-discuss] Do actions fire in order?

2009-04-18 Thread Michael Ernest
Using Chad's description above as a base, I propose the following addition to http://wikis.sun.com/display/DTrace/D+Program+Structure. I think it would work well directly below the Actions section: *** Order of Execution Once submitted, each clause is represented by an enabling control block (

Re: [dtrace-discuss] userlan tracing woes - need help

2009-04-12 Thread Michael Ernest
At this point, I'm guessing I recreated all your experiments with all the same results. I vaguely knew I was going down a wrong path, but any amount of RTFM (more like GTFI) wasn't helping. It finally dawned on me that DTrace doesn't actually know what's in a userland struct. I came across a bl

Re: [dtrace-discuss] userlan tracing woes - need help

2009-04-11 Thread Michael Ernest
Uh huh, and what about trace(copyinstr(self->spwd->sp_namp)) ? -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] userlan tracing woes - need help

2009-04-11 Thread Michael Ernest
The automagic here is performed by trace() and DTrace's string type. trace() operates the same way on D strings as it does with C char *'s. Try trace(*s) and note the difference. Dereferencing within trace() returns only the character at the given address. When you say trace(s) gives the correc

Re: [dtrace-discuss] dtrace variable access from multiple threads

2009-04-05 Thread Michael Ernest
Did everyone else see this portion of Jonathan's latest response (the very end)? 6492 1 > 6494 1 > 6495 1 > 6496 1 > 6497 1 > 6498 1 > ... > > > Note that this gives you more data than you were asking for; you also know > how many items are being processed at any given time. > > Most problems you

Re: [dtrace-discuss] dtrace variable access from multiple threads

2009-04-03 Thread Michael Ernest
I had something crudely similar to feed to bc, using "" for a key and omitting it from the printa() output, a la: printa("@d...@d\n", @e, @r); -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

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

2009-03-26 Thread Michael Ernest
That was a weird typo. Appreciate the catch. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

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

2009-03-20 Thread Michael Ernest
One aspect of DTrace I enjoy is that you can show people something surprising without a lot of foundational knowledge. You can ask a question like this: If you wanted to know how many processes were running on your system at any time, how would you do it? Most people even lightly familiar with

Re: [dtrace-discuss] Dtrace on OpenSolaris/VirtualBox

2008-06-09 Thread Michael Ernest
Anyone interested in replicating? Here's the dtrace one-liner I used: dtrace -n '::bdev_strategy:entry {}' And here's the panic string from one attempt: panic[cpu0]/thread=d3c2bde0: BAD TRAP: type=e (#pf=Page Fault) rp=d3c2bc30 address=0 occurred in module "" due to a NULL pointer dereference.

Re: [dtrace-discuss] Dtrace on OpenSolaris/VirtualBox

2008-06-09 Thread Michael Ernest
Sorry for the triple-clutch on that last post. These crash files are monsters; the core image is 83M *after* gzipping, and I'm only dumping kernel pages. What's the limit on file upload to this site? M -- This message posted from opensolaris.org _

Re: [dtrace-discuss] Dtrace on OpenSolaris/VirtualBox

2008-06-09 Thread Michael Ernest
Oops, I spoke too soon. I thought it was dumping core, owing to the significant delay after locking. However I haven't yet persuaded this setup to recover the dump files (dumpadm shows proper config). I'll provide one as soon as I get that going. -- This message posted from opensolaris.org ___

[dtrace-discuss] Dtrace on OpenSolaris/VirtualBox

2008-06-09 Thread Michael Ernest
I'm running OpenSolaris 2008.05 in VirtualBox on a Windows XP host. Playing around with various probes, I found that trying to load any probe associated with bdev_strategy dumps core. I can think of one or two likely and reasonable causes for this, but am assuming it's undesirable behavior. A