Re: amd64 profiling kernel build failure

2016-01-11 Thread Kengo NAKAHARA
Hi, On 2016/01/09 2:33, Ryo Shimizu wrote: > Hi all > >> Hi, >> >> On 2016/01/08 16:00, David Holland wrote: >>> On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: >>> > > --- a/sys/kern/subr_prof.c >>> > > +++ b/sys/kern/subr_prof.c >>> > > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0,

Re: amd64 profiling kernel build failure

2016-01-08 Thread Christos Zoulas
In article <20160108173359.a539f1cc...@yaml.nerv.org>, Ryo Shimizu wrote: > >Hi all > >>Hi, >> >>On 2016/01/08 16:00, David Holland wrote: >>> On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: >>> > > --- a/sys/kern/subr_prof.c >>> > > +++ b/sys/kern/subr_prof.c >>> > > @@ -48,

Re: amd64 profiling kernel build failure

2016-01-08 Thread Ryo Shimizu
Hi all >Hi, > >On 2016/01/08 16:00, David Holland wrote: >> On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: >> > > --- a/sys/kern/subr_prof.c >> > > +++ b/sys/kern/subr_prof.c >> > > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 >> 2014/07/10 21:13:52 chr

Re: amd64 profiling kernel build failure

2016-01-08 Thread Kengo NAKAHARA
Hi, On 2016/01/08 16:00, David Holland wrote: > On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: > > > --- a/sys/kern/subr_prof.c > > > +++ b/sys/kern/subr_prof.c > > > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 > 2014/07/10 21:13:52 christos Exp > > >

Re: amd64 profiling kernel build failure

2016-01-07 Thread David Holland
On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: > > --- a/sys/kern/subr_prof.c > > +++ b/sys/kern/subr_prof.c > > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 > 2014/07/10 21:13:52 christos Exp > > #include > > #include > > > > +#ifdef MULTI

Re: amd64 profiling kernel build failure

2016-01-07 Thread NAKAHARA Kengo
Hi, On 2016/01/08 15:50, David Holland wrote: On Fri, Jan 08, 2016 at 02:33:58PM +0900, Kengo NAKAHARA wrote: > --- a/sys/kern/subr_prof.c > +++ b/sys/kern/subr_prof.c > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 2014/07/10 21:13:52 christos Exp > #include >

Re: amd64 profiling kernel build failure

2016-01-07 Thread David Holland
On Fri, Jan 08, 2016 at 02:33:58PM +0900, Kengo NAKAHARA wrote: > --- a/sys/kern/subr_prof.c > +++ b/sys/kern/subr_prof.c > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 2014/07/10 > 21:13:52 christos Exp > #include > #include > > +#ifdef MULTIPROCESSOR > +__cpu_

amd64 profiling kernel build failure

2016-01-07 Thread Kengo NAKAHARA
Hi, I try to build amd64 profiling kernel in accordance with the following guide. http://www.netbsd.org/docs/kernel/profiling/ Howerver, GENERIC.PROF kernel build failure. I make the following patch to fix this build failure. diff --git a/sys/arch/amd64/include/profile.h