amd64/159612: dtrace walltimestamp and timestamp functions
incomplete
Ashley
ashley.wil at gmail.com
Mon Aug 8 22:10:14 UTC 2011
>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 at 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:
More information about the freebsd-amd64
mailing list