Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: a10421a292
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.553 kB
#!/usr/sbin/dtrace -s
#pragma D option quiet
BEGIN
{
printf("Target pid: %d\n\n", $target);
printf("%-10s %-10s %-10s %-10s\n", "OBJECTS", "BYTES", "DURATION", "TYPE");
printf("--------------------------------------------------------------------------------\n");
}
pid$target::auto_trace_collection_begin:entry
{
self->starttime = walltimestamp / 1000;
}
pid$target::auto_trace_collection_end:entry
{
printf("%-10d %-10d %-10d %-10s\n", arg2, arg3,
(walltimestamp / 1000) - self->starttime,
arg1 ? "generational" : "full");
}
Jump to Line
Something went wrong with that request. Please try again.