MFC r331134:

Fix an access of an uninitialized variable in dtrace_probe().
This commit is contained in:
Mark Johnston 2018-03-26 15:20:42 +00:00
parent 82e69de635
commit 7d75efa1b2

View File

@ -7177,7 +7177,7 @@ dtrace_probe(dtrace_id_t id, uintptr_t arg0, uintptr_t arg1,
}
now = mstate.dtms_timestamp = dtrace_gethrtime();
mstate.dtms_present |= DTRACE_MSTATE_TIMESTAMP;
mstate.dtms_present = DTRACE_MSTATE_TIMESTAMP;
vtime = dtrace_vtime_references != 0;
if (vtime && curthread->t_dtrace_start)