Date: Wed, 17 Sep 2008 14:58:10 GMT From: Henri Hennebert <hlh@restart.be> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/127441: Dtrace timestamp variable is wrapping as if define as uint32_t Message-ID: <200809171458.m8HEwAWB038918@www.freebsd.org> Resent-Message-ID: <200809171500.m8HF0CE5086675@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127441
>Category: kern
>Synopsis: Dtrace timestamp variable is wrapping as if define as uint32_t
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 17 15:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Henri Hennebert
>Release: 7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD morzine.restart.bel 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun Sep 14 17:24:37 CEST 2008 root@morzine.restart.bel:/usr/obj/usr/src/sys/MORZINE i386
>Description:
I am reading the 'Solaris Dynamic tracing guide' and using FreeBSD for the practical test.
In this D program:
dtrace:::BEGIN
{
i = 10;
}
profile:::tick-1sec
/i > 0/
{
printf("[%d] value is %d\n", timestamp, i--);
}
profile:::tick-1sec
/i <= 0/
{
printf("[%d] B O U M !\n", timestamp);
exit(0);
}
the value of timestamp has never more than 10 decimal digits.
By the way is it the right place to describe dtrace problems or is there a wiki or something.
Thanks
Henri
>How-To-Repeat:
Run previous program.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809171458.m8HEwAWB038918>
