Re: dtrace: identifier redefined: cpu

From: Ryan Stone <rysto32_at_gmail.com>
Date: Thu, 7 Jun 2012 11:18:40 -0400
On Thu, Jun 7, 2012 at 4:02 AM, Andriy Gapon <avg_at_freebsd.org> wrote:
>
> I am getting the following error while trying to execute any DTrace script on a
> freshly updated CURRENT system (both kernel and world).
> Example:
>
> dtrace: failed to compile script sysctl_kern_proc.d: "/usr/lib/dtrace/sched.d",
> line 70: identifier redefined: cpu
>         current: inline definition
>        previous: scalar
> --
> Andriy Gapon

Hm, I cannot reproduce this on the following system, freshly built this morning:
FreeBSD vm-head 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r236713: Thu Jun
7 10:30:45 EDT 2012
rstone_at_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?
Received on Thu Jun 07 2012 - 13:18:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC