Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2011 19:51:10 +1000
From:      Ashley Williams <ashley.wil@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   dtrace walltimestamp
Message-ID:  <CAHTXkP%2BX=tR44QNMOzKq1bd0HhXfHoQSzOmK_CzpzksmPnT7Yg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHTXkP%2BX=tR44QNMOzKq1bd0HhXfHoQSzOmK_CzpzksmPnT7Yg>