Date: Wed, 1 Jun 2011 18:18:50 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: George Neville-Neil <gnn@neville-neil.com>, freebsd-mips@freebsd.org Subject: Re: hwpmc and mips? Message-ID: <BANLkTimti=hhBtyWtj8W3sfm0pZaBgHrDg@mail.gmail.com> In-Reply-To: <6BA5EFDB-BB82-49D6-A253-F8917BBD9C9A@bsdimp.com> References: <BANLkTiktv1XoBNPqcTB7KwVh6CoK1Df5Tw@mail.gmail.com> <BANLkTinZnjaCQ=qEd7gP%2B9zF-ebB95Gv-A@mail.gmail.com> <6BA5EFDB-BB82-49D6-A253-F8917BBD9C9A@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The hwpmc counters are there but the hooks into the trap frame and interrupt handling aren't. Adrian On 31 May 2011 22:53, Warner Losh <imp@bsdimp.com> wrote: > Hey Adrian > > I thought that gnn@ did some work here for mips24ish cores. =A0George? > > Warner > > On May 31, 2011, at 4:08 AM, Adrian Chadd wrote: > >> On 31 May 2011 18:00, Adrian Chadd <adrian@freebsd.org> wrote: >> >>> I'm likely going to look at this sometime after July (and I'm sure >>> it's just a case of hooking into the right IRQ handler) but if someone >>> beat me to it *hint*, I'd very much appreciate it. >> >> To prove I'm not completely slack, I went spelunking through the >> source to see how hwpmc hooks into things. >> >> There's no HWPMC_HOOKS used anywhere in sys/mips/* or sys/mips/*/*, >> save config files. >> >> I thus have a feeling the hwpmc glue for sampling mode just isn't >> there for any MIPS core at the present time. >> >> Would someone more versed in the ways of MIPS stack frame magic and >> trap handling care to take a stab at it? >> >> Thanks, >> >> >> Adrian >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimti=hhBtyWtj8W3sfm0pZaBgHrDg>