Re: [PATCH] Intel Sandy Bridge support for hwpmc

From: Davide Italiano <davide.italiano_at_gmail.com>
Date: Sun, 13 Nov 2011 21:59:34 +0100
On Sun, Nov 13, 2011 at 9:56 PM, Attilio Rao <attilio_at_freebsd.org> wrote:
> 2011/11/13 Davide Italiano <davide.italiano_at_gmail.com>:
>> On Sun, Nov 13, 2011 at 9:52 PM, Davide Italiano
>> <davide.italiano_at_gmail.com> 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_at_ that helped me to fix a bug and gnn_at_
>>> and fabient_at_ 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.
Received on Sun Nov 13 2011 - 19:59:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC