MFV r266995:
4767 dtrace_probe() always has the timestamp Reference: https://illumos.org/issues/4767 Obtained from: Illumos MFC after: 2 weeks
This commit is contained in:
commit
3ccccdc17d
@ -24,7 +24,7 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
|
||||
* Copyright (c) 2012 by Delphix. All rights reserved.
|
||||
* Copyright (c) 2012, 2014 by Delphix. All rights reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -7083,7 +7083,8 @@ dtrace_probe(dtrace_id_t id, uintptr_t arg0, uintptr_t arg1,
|
||||
return;
|
||||
}
|
||||
|
||||
now = dtrace_gethrtime();
|
||||
now = mstate.dtms_timestamp = dtrace_gethrtime();
|
||||
mstate.dtms_present |= DTRACE_MSTATE_TIMESTAMP;
|
||||
vtime = dtrace_vtime_references != 0;
|
||||
|
||||
if (vtime && curthread->t_dtrace_start)
|
||||
|
Loading…
x
Reference in New Issue
Block a user