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

[Xen-devel] [PATCH] XENOPROF: add a new hypercall operation for allocating and sharing xenoprof buffer with domain


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
  • Date: Tue, 12 Sep 2006 23:06:56 -0500
  • Delivery-date: Tue, 12 Sep 2006 21:07:31 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbW6g3QyF/ffSnrTYOpg8BaqIrSMA==
  • Thread-topic: [PATCH] XENOPROF: add a new hypercall operation for allocating and sharing xenoprof buffer with domain

This patch modifies the XENOPROF_init operation in xenoprof hypercall,
removing the code for allocating and sharing the xenoprof buffer. The
patch creates a new xenoprof hypercall operation for the buffer
operations: XENOPROF_get_buffer.
This is the first step to enable dynamic mapping and unmapping of the
xenoprof buffer. This is necessary for doing passive profiling of
domains which have oprofile module loaded or builtin the kernel. Today
loading oprofile in a domain prevent it to be profiled in passive mode
even if the module is later unloaded.

Since this change modifies the hypercall interface, it would be nice if
it could make the 3.0.3 release to avoid breaking compatibility.

Thanks

Renato


Attachment: xenoprof_add_get_buffer_op.patch
Description: xenoprof_add_get_buffer_op.patch

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