Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2012 11:18:40 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: dtrace: identifier redefined: cpu
Message-ID:  <CAFMmRNxinSy86LEEwjkF7EzG-179GTij261Hw6QfwhimzCPDBw@mail.gmail.com>
In-Reply-To: <4FD06011.5000805@FreeBSD.org>
References:  <4FD06011.5000805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 7, 2012 at 4:02 AM, Andriy Gapon <avg@freebsd.org> wrote:
>
> I am getting the following error while trying to execute any DTrace scrip=
t on a
> freshly updated CURRENT system (both kernel and world).
> Example:
>
> dtrace: failed to compile script sysctl_kern_proc.d: "/usr/lib/dtrace/sch=
ed.d",
> line 70: identifier redefined: cpu
> =A0 =A0 =A0 =A0 current: inline definition
> =A0 =A0 =A0 =A0previous: scalar
> --
> Andriy Gapon

Hm, I cannot reproduce this on the following system, freshly built this mor=
ning:
FreeBSD vm-head 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r236713: Thu Jun
7 10:30:45 EDT 2012
rstone@rstone-laptop:/home/rstone/freebsd/obj/usr/home/rstone/freebsd/head_=
2/sys/GENERIC
 amd64

I don't even have a /usr/lib/dtrace/sched.d.  Do you have some local
changes that is installing that?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxinSy86LEEwjkF7EzG-179GTij261Hw6QfwhimzCPDBw>