dtrace walltimestamp

From: Ashley Williams <ashley.wil_at_gmail.com>
Date: Sun, 7 Aug 2011 19:51:10 +1000
walltimestamp and timestamp don't appear to be right in BETA-1:


# dtrace -qn 'syscall::exec*:return { printf("%Y
%s\n",walltimestamp,curpsinfo->pr_psargs); }'
1970 Jan  1 10:00:00 date
1970 Jan  1 10:00:00 ping
1970 Jan  1 10:00:00 ls


# dtrace -qn 'syscall::exec*:return { printf("%Y
%s\n",timestamp,curpsinfo->pr_psargs); }'
1970 Jan  6 12:02:27 ping
1970 Jan  6 12:02:29 ls
1970 Jan  6 12:02:31 dtrace

dmesg:

dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX
dtrace_gethrestime(459): XXX


# date
Sun Aug  7 19:47:02 EST 2011

# uname -a
FreeBSD shikai 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Tue Aug  2 09:35:34 EST 2011
Received on Sun Aug 07 2011 - 08:14:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC