Displaying 3 results from an estimated 3 matches for "06ums".
2009 Sep 09
10
dtrace overhead and proper measuring technique
...f->vts;
@tsint = sum(this->ts / 1000000);
@tsfrac = sum(this->ts % 1000000);
@vtsint = sum(this->vts / 1000000);
@vtsfrac = sum(this->vts % 1000000);
@n = count();
self->ts = 0;
self->vts = 0;
/*ustack();*/
}
END
{
t = timestamp;
printa("elapsed: %@u.%@06ums\n", @tsint, @tsfrac);
printa("cpu : %@u.%@06ums\n", @vtsint, @vtsfrac);
printa("count : %@u times\n", @n);
}
[3] startup.html
<!DOCTYPE HTML>
<html>
<body>
<script>
var t = (new Date()).getTime();
dump("TIME " + t + "\n"...
2009 Sep 09
4
usdt probes vs pid$target
...= vtimestamp;
self->roots = arg0;
}
mozilla$target:::process-xul-reflow-return
/self->ts/
{
this->ts = timestamp - self->ts;
this->vts = vtimestamp - self->vts;
printf("\n");
printf("# roots: %u\n", self->roots);
printf("elapsed: %u.%06ums\n", this->ts / 1000000, this->ts %
1000000);
printf("cpu : %u.%06ums\n", this->vts / 1000000, this->vts %
1000000);
@tsint = sum(this->ts / 1000000);
@tsfrac = sum(this->ts % 1000000);
@vtsint = sum(this->vts / 1000000);
@vtsfrac = sum(this...
2009 Aug 28
13
putting a running app into trace mode
Suppose I have a USDT probe in Firefox and that I''m trying to catch
the startup with a probe like this:
proc:::exec-success
/execname == "firefox-bin"/
{
start = timestamp;
}
and stop tracing when Firefox hits this USDT probe:
mozilla:::main-entry
{
exit(0);
}
How do I put the running firefox-bin into "trace mode" so that my USDT
probe fires?
Thanks, Joel