Subject: Re: mips kernel profiling?
To: Simon Burge <simonb@NetBSD.ORG>
From: Ethan Solomita <ethan@geocast.com>
List: port-mips
Date: 04/01/2000 00:42:11
Simon Burge wrote:
>
> What was your fix - to subtract another 16 frop sp on entry to _mcount
> and add 24 instead of 8 on exit?
>
I've now verified that this change does allow me to boot. I haven't
gotten profiling working yet, but this may be more related to our mips
port than profiling.
> > I did something much simpler -- no new code, just changed MCOUNT_ENTER
> > to s = _splset(0); and MCOUNT_EXIT to _splset(s); This seems to work
> > with my platform -- is it a problem for pmax or others?
>
> _splset is a LEAF function, so it calls MCOUNT. From what I understand,
> we shouldn't profile the profiling support :)
>
Then that won't work. 8-)
-- Ethan