From owner-freebsd-current@FreeBSD.ORG Sun Nov 13 21:01:00 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 2FCC01065673 for ; Sun, 13 Nov 2011 21:01:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B3B568FC1D for ; Sun, 13 Nov 2011 21:00:59 +0000 (UTC) Received: by wwg14 with SMTP id 14so5458263wwg.31 for ; Sun, 13 Nov 2011 13:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=auf7UqoChFqqRPIMm8YoT/rhloDHULfyCWPuE9fQbl0=; b=vPmFtw1AIqXwsoQSFbdlI+CaJEC12AoVLWI2VGcToqZ+5l8j9jipXuS7EVefjfoeDp uBlpY0RXzqNSXF1xo8EaqlG8k6ZH5jX8imIfWzfjMO8rhdrfzaeqsTr8ul4ELb9wq+1W NPOxRW6I/MUIwXSjttT/CHBwxn78BCLQPeRq4= MIME-Version: 1.0 Received: by 10.216.137.10 with SMTP id x10mr737300wei.29.1321218058545; Sun, 13 Nov 2011 13:00:58 -0800 (PST) Sender: asmrookie@gmail.com Received: by 10.216.182.3 with HTTP; Sun, 13 Nov 2011 13:00:58 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Nov 2011 22:00:58 +0100 X-Google-Sender-Auth: GtzQhylA4I0fPBP4LkhBBdpIxB0 Message-ID: From: Attilio Rao To: Davide Italiano Content-Type: text/plain; charset=UTF-8 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 21:01:00 -0000 2011/11/13 Davide Italiano : > 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. In pratica tu hai visto che cercando di andare con ctrl+c non termina? Attilio -- Peace can only be achieved by understanding - A. Einstein