4767 dtrace_probe() always has the timestamp
illumos/illumos-gate@82d86f4e8b
This commit is contained in:
parent
ba911031dd
commit
899505ad7d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor-sys/illumos/dist/; revision=266995
@ -22,7 +22,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.
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -6682,7 +6682,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…
Reference in New Issue
Block a user