Date: Mon, 8 Aug 2011 22:09:12 GMT From: Ashley <ashley.wil@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: amd64/159612: dtrace walltimestamp and timestamp functions incomplete Message-ID: <201108082209.p78M9Csn098275@red.freebsd.org> Resent-Message-ID: <201108082210.p78MAEXp093559@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159612 >Category: amd64 >Synopsis: dtrace walltimestamp and timestamp functions incomplete >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 08 22:10:14 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ashley >Release: 9 beta1 >Organization: >Environment: FreeBSD shikai 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Tue Aug 2 09:35:34 EST 2011 root@shikai:/usr/obj/usr/src/sys/SHIKAI amd64 >Description: 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 # date Sun Aug 7 19:47:02 EST 2011 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 These functions don't appear to be complete: uint64_t dtrace_gethrestime(void) { printf("%s(%d): XXX\n",__func__,__LINE__); return (0); } >How-To-Repeat: dtrace -qn 'syscall::exec*:return { printf("%Y %s\n",walltimestamp,curpsinfo-pr_psargs); }' >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108082209.p78M9Csn098275>