From owner-freebsd-current@FreeBSD.ORG Sun Nov 13 20:59:36 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B211106564A for ; Sun, 13 Nov 2011 20:59:36 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 27EBF8FC13 for ; Sun, 13 Nov 2011 20:59:35 +0000 (UTC) Received: by vws11 with SMTP id 11so6771489vws.13 for ; Sun, 13 Nov 2011 12:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fHdG5JK0txnleKBJZIvXIKVvZ6yqFUXtl5cYnQH0BAY=; b=IDjiIwZnGEtIJh14PXSGZdqwNxdJbp0qCfp1xa3KglC2x+7fq7G9auwJ6q/VFX9D8c Ot3cbEeus6CScvNxOFo6B9nzW18SS1tnVXDskm7oLOZ5Vx/uSJ8qO0fMGFXXPPQ7feZz 3gdqiMHPAoxEZmYwTV6J3HRcGEscHUogj+lP8= MIME-Version: 1.0 Received: by 10.52.33.51 with SMTP id o19mr21347421vdi.119.1321217974611; Sun, 13 Nov 2011 12:59:34 -0800 (PST) Received: by 10.52.156.135 with HTTP; Sun, 13 Nov 2011 12:59:34 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Nov 2011 21:59:34 +0100 Message-ID: From: Davide Italiano To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Intel Sandy Bridge support for hwpmc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 20:59:36 -0000 On Sun, Nov 13, 2011 at 9:56 PM, Attilio Rao wrote: > 2011/11/13 Davide Italiano : >> On Sun, Nov 13, 2011 at 9:52 PM, Davide Italiano >> wrote: >>> Good evening folks. >>> During last days I've written a patch to add sandy bridge support to >>> hwpmc. Until now, the most recent Intel processor microarchitecture >>> supported was Westmere. >>> Testing is appreciated, in order to see if there's something that have >>> to be fixed. >>> You can find the diff here: http://davit.altervista.rg/hwpmc_sandy_bridge.diff >>> >>> I'd like to thanks a lot attilio@ that helped me to fix a bug and gnn@ >>> and fabient@ for the useful suggestions. >>> >>> Best >>> >>> Davide >>> >> >> Sorry, bad link. It should be: >> http://davit.altervista.org/hwpmc_sandy_bridge.diff > > Ci sono un po di cose da pulire, ma quello posso farlo io. > > Mi dici come riprodurre il deadlock con THREAD_P? > > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > pmcstat -SCPU_CLK_UNHALTED.THREAD_P dovrebbe andare. (facendo partire pmcstat non in system-mode, ad esempio pmcstat -pCPU_CLK_UNHALTED.THREAD_P ls , non va in deadlock.