From owner-freebsd-mips@FreeBSD.ORG Tue May 31 10:00:36 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 39BD6106564A for ; Tue, 31 May 2011 10:00:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id EFCD48FC14 for ; Tue, 31 May 2011 10:00:35 +0000 (UTC) Received: by yxl31 with SMTP id 31so2507956yxl.13 for ; Tue, 31 May 2011 03:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=wgd+BNhZO6AuwqWDsyux5+dnPCWsUIOysjdJszhU0S8=; b=tNHKHWbrYRuxGDrl990X6mswQPHHLO/+FytjtGjer53tqzyArxb1GtUJ8JMw0X7cZb hyXb9hm+LyRm1Segb24ulaKcVbS/tU835thR55OoCkkVPs7zsHCX/aaofoKTM7une8CN wEsil0ustPmue86/+d6LWyjuDXAX9nBWMtp5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=VacChRBdcuGjkBzwmVlra0Iy1sbWr4ZfxPcDTRJ17wd9ZsjnA+G2uISKQaGskvPz9v FkiVXTsU4YdyZBcBFq1A+0yA9giy5h2rL1fJXkt80BPwU5JqrHdsGkDasCJwBGmK6Brc WHkd8nJ2gXue0X4nGeDgeJii1VGobH8tWJ40U= MIME-Version: 1.0 Received: by 10.151.58.8 with SMTP id l8mr3530156ybk.242.1306836035138; Tue, 31 May 2011 03:00:35 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.107.15 with HTTP; Tue, 31 May 2011 03:00:35 -0700 (PDT) Date: Tue, 31 May 2011 18:00:35 +0800 X-Google-Sender-Auth: tpZSZCudAueXzufm9OSQ8WuTwBc Message-ID: From: Adrian Chadd To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 10:00:36 -0000 Hi all, Is anyone out there successfully using hwpmc on mips? mips24k ? ar71xx/ar913x? :-) When I enable a system-wide sampling counter (that isn't the "sample instruction count", as gnn's work notes that doesn't currently function), I get the hardware locked up in an IRQ serving loop. 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. Thanks, Adrian