[PATCH] Intel Sandy Bridge support for hwpmc

Davide Italiano davide.italiano at gmail.com
Sun Nov 13 20:59:36 UTC 2011

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@ 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.

More information about the freebsd-current mailing list