From owner-freebsd-arm@FreeBSD.ORG Tue May 15 12:38:08 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53695106564A; Tue, 15 May 2012 12:38:08 +0000 (UTC) (envelope-from mlfbsd@kanar.ci0.org) Received: from kanar.ci0.org (unknown [IPv6:2a01:e0b:1:150:ca0a:a9ff:fef1:a4c9]) by mx1.freebsd.org (Postfix) with ESMTP id DEBC98FC0A; Tue, 15 May 2012 12:38:07 +0000 (UTC) Received: from kanar.ci0.org (pluxor@localhost [127.0.0.1]) by kanar.ci0.org (8.14.5/8.14.5) with ESMTP id q4FCbiIj047855; Tue, 15 May 2012 14:37:44 +0200 (CEST) (envelope-from mlfbsd@kanar.ci0.org) Received: (from mlfbsd@localhost) by kanar.ci0.org (8.14.5/8.14.5/Submit) id q4FCbinj047854; Tue, 15 May 2012 14:37:44 +0200 (CEST) (envelope-from mlfbsd) Date: Tue, 15 May 2012 14:37:44 +0200 From: mlfbsd To: Fabien Thomas Message-ID: <20120515123743.GA47838@ci0.org> References: <7D3480C9-BFD0-416C-8A65-C31BFE5E093A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7D3480C9-BFD0-416C-8A65-C31BFE5E093A@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-arm@freebsd.org Subject: Re: RFC: hwpmc soft arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 12:38:08 -0000 On Tue, May 15, 2012 at 01:53:28PM +0200, Fabien Thomas wrote: > Hi, > > This patch add sampling support for arm using soft PMC. > At this time only with one level (no backtrace), i'm planning to add it > with ddb code as a base but if some arm guru can give me some pointer it will help. > > The patch is tested on 8.3 but should works on head. > > patch: > http://freebsd.org/~fabient/patch-hwpmc_arm_rev1 > Hi Fabien, It seems fine, I see nothing wrong in this patch. Backtrace support should be easy to add. Thanks a lot for working on this ! Regards, Olivier