FreeBSD Bugzilla – Attachment 181559 Details for
Bug 218452
I can cause an assertion with a dtrace script and when it does happen, dtrace fails until the module dtraceall is reloaded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Dtrace script that eventually fails with an assertion
cksum.d (text/plain), 440 bytes, created by
Adam Stylinski
on 2017-04-07 04:49:38 UTC
(
hide
)
Description:
Dtrace script that eventually fails with an assertion
Filename:
MIME Type:
Creator:
Adam Stylinski
Created:
2017-04-07 04:49:38 UTC
Size:
440 bytes
patch
obsolete
>#!/usr/sbin/dtrace -s > >#pragma D option quiet >#pragma D option switchrate=99 > >BEGIN >{ > printf("ENDTIME(us) LATENCY(ns) TYPE SIZE(bytes) ZONENAME PROCESS\n"); > start = timestamp; > n = 0; >} > >fbt::fletcher_4_native:entry >/execname != "dtrace"/ >{ > self->ts = timestamp; > self->size = args[1]; >} > >fbt::fletcher_4_native:return >/execname != "dtrace"/ >{ > printf("fletcher took %d ns for %lu bytes\n", timestamp - self->ts, self->size); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 218452
: 181559