From owner-freebsd-mips@FreeBSD.ORG Tue May 31 14:57:22 2011 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83B44106564A; Tue, 31 May 2011 14:57:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 429008FC15; Tue, 31 May 2011 14:57:22 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p4VErmde013336 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Tue, 31 May 2011 08:53:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 31 May 2011 08:53:47 -0600 Content-Transfer-Encoding: 7bit Message-Id: <6BA5EFDB-BB82-49D6-A253-F8917BBD9C9A@bsdimp.com> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Tue, 31 May 2011 08:53:50 -0600 (MDT) Cc: George Neville-Neil , freebsd-mips@FreeBSD.org Subject: Re: hwpmc and mips? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 14:57:22 -0000 Hey Adrian I thought that gnn@ did some work here for mips24ish cores. George? Warner On May 31, 2011, at 4:08 AM, Adrian Chadd wrote: > On 31 May 2011 18:00, Adrian Chadd 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" > >