Date: Thu, 2 Jun 2011 11:47:21 -0400 From: George Neville-Neil <gnn@neville-neil.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-mips@freebsd.org Subject: Re: hwpmc and mips? Message-ID: <FE364C21-7421-4E41-B58F-C4E560001C26@neville-neil.com> In-Reply-To: <BANLkTimti=hhBtyWtj8W3sfm0pZaBgHrDg@mail.gmail.com> References: <BANLkTiktv1XoBNPqcTB7KwVh6CoK1Df5Tw@mail.gmail.com> <BANLkTinZnjaCQ=qEd7gP%2B9zF-ebB95Gv-A@mail.gmail.com> <6BA5EFDB-BB82-49D6-A253-F8917BBD9C9A@bsdimp.com> <BANLkTimti=hhBtyWtj8W3sfm0pZaBgHrDg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 1, 2011, at 06:18 , Adrian Chadd wrote: > The hwpmc counters are there but the hooks into the trap frame and > interrupt handling aren't. >=20 Yes, the counters work but that's about it. I've been too busy with my = day job to do much on this at all, and I don't know when I'd get back to it. The basic framework to get other MIPS counters going is there, but, as I = have noticed from reading over various hardware manuals, counters on MIPS = diverge even more than they do between x86 variants. Each one is going to be = annoyingly different. Sorry I can't be of more help on this at the moment. Best, George >=20 >=20 > Adrian >=20 > On 31 May 2011 22:53, Warner Losh <imp@bsdimp.com> wrote: >> Hey Adrian >>=20 >> I thought that gnn@ did some work here for mips24ish cores. George? >>=20 >> Warner >>=20 >> On May 31, 2011, at 4:08 AM, Adrian Chadd wrote: >>=20 >>> On 31 May 2011 18:00, Adrian Chadd <adrian@freebsd.org> wrote: >>>=20 >>>> 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. >>>=20 >>> To prove I'm not completely slack, I went spelunking through the >>> source to see how hwpmc hooks into things. >>>=20 >>> There's no HWPMC_HOOKS used anywhere in sys/mips/* or sys/mips/*/*, >>> save config files. >>>=20 >>> I thus have a feeling the hwpmc glue for sampling mode just isn't >>> there for any MIPS core at the present time. >>>=20 >>> Would someone more versed in the ways of MIPS stack frame magic and >>> trap handling care to take a stab at it? >>>=20 >>> Thanks, >>>=20 >>>=20 >>> 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" >>>=20 >>>=20 >>=20 >>=20 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk3nsIkACgkQYdh2wUQKM9LNcACeIV+equhS0gG0uKhHpLzONe0R aGMAn2AFk8kbhau1wgQNSOHzdlrd6nHH =3DkLTq -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE364C21-7421-4E41-B58F-C4E560001C26>