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

[Xen-devel] [PATCH] Make lock profiling usable again


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Fri, 04 Nov 2011 13:52:42 +0100
  • Cc: xudong.hao@xxxxxxxxx
  • Delivery-date: Fri, 04 Nov 2011 05:59:14 -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:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:Date:From:To:Cc; b=HTZMNRmLH+erYPlCI8und90qN/y6kMqu850K9NHDUdUa1cRw2Vnv899V anFwaKk8M2uuGXu3hAtR3vkdUMvxs+6FH+wPQhDqc1YWnE4dQGmImBv94 AsmatQFsH9DcBsPAs2ouvQok03PRwxs23lhC31XuwL2ARnz58UlTE0U7k AReDUD0SdRrC4nLLtXpGd7z63FQOyYeVy9bCKqIYTvXXLD7c2dVrkK5S2 GXYOUja0rpBC9NmwKN7j5GFdnnwDT;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Using lock profiling (option lock_profile in xen/Rules.mk) resulted in build
errors.
Changes:
- Include public/sysctl.h in spinlock.h when using lock profiling.
- Allocate profile data in an own structure to avoid struct domain becoming
  larger then one page

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


2 files changed, 44 insertions(+), 24 deletions(-)
xen/common/spinlock.c      |   34 +++++++++++++++++++++-------------
xen/include/xen/spinlock.h |   34 +++++++++++++++++++++++-----------


Attachment: xen-staging.hg.patch
Description: Text Data

_______________________________________________
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®.