[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Architectural question: How to put BTS and PEBS in Xen


  • To: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Tue, 27 Sep 2011 11:51:42 +0200
  • Delivery-date: Tue, 27 Sep 2011 02:52:27 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id; b=KIu1JBOr/mGvwYhqRYpjndAq2L37R8wQSGFN3sJOwjv78Ju93jzZMPoI OOI4wSfxZEHxxGmWDw3NGf3P4HmeAFtpNWv+UwITw1+beUPzYKIqpwJcF 3AxJuckiiKPgPR4bCb3W/8uafwaztEait22xpxFjP0SUkwJ9lst/WeACg z0F+YmRoSn7fC3hc1eE3kpf8HIXx6QdBO7NaKfxz8+S8Qp6aw4UmoO5J6 ZUPREcoUpXBMFUhUbh122Z0/PB5b2;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi list,

I'm on the way to coding the virtualisation of BTS (Branch Trace Store) and
later PEBS support for Intel CPU's in Xen.

As some aspects overlap with the PMU (Performance Management Unit) I used the
existing infrastructure of the VPMU stuff to do some coding and tests.
But currently this infrastructure is only switched on with a 'vpmu' boot flag
in the  hypervisor.
As reminder this flag was introduced because of an inexplicable behaviour of
the Nehalem CPUs while using the performance counters which could lead to an
endless interrupt loop (see check_pmc_quirk()).

As currently no one else than we seem to use/need this feature for simplicity
I would move the BTS code complete to the VPMU environment and therfore it
would only be usable when using the 'vpmu' flag on boot.

Any advices would be welcome!

Thanks.
Dietmar.


-- 
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.