kern/127441: Dtrace timestamp variable is wrapping as if define as uint32_t

Henri Hennebert hlh at restart.be
Wed Sep 17 15:00:12 UTC 2008


>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 at 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:


More information about the freebsd-bugs mailing list