direct-io.hg

diff tools/libxc/xenctrl.h @ 7571:8cc7ce549d00

Sanitise the trace-buffer hypervisor<->user interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Oct 31 10:45:31 2005 +0100 (2005-10-31)
parents f33f18fbf2cb
children 15dc55145e55
line diff
     1.1 --- a/tools/libxc/xenctrl.h	Sun Oct 30 23:30:41 2005 +0100
     1.2 +++ b/tools/libxc/xenctrl.h	Mon Oct 31 10:45:31 2005 +0100
     1.3 @@ -507,12 +507,10 @@ long xc_get_tot_pages(int xc_handle, uin
     1.4  int xc_tbuf_enable(int xc_handle, int enable);
     1.5  
     1.6  /**
     1.7 - * This function sets the size of the trace buffers. Setting it to zero
     1.8 - * deallocates the memory used for trace buffers, and setting it to a
     1.9 - * non-zero value specifies the number of pages per cpu to allocate.
    1.10 - * To change the size of an existing allocation, you must first deallocate
    1.11 - * it then reallocate it. No change in size is allowed when tracing is
    1.12 - * enabled; A disable call must be made first.
    1.13 + * This function sets the size of the trace buffers. Setting the size
    1.14 + * is currently a one-shot operation that may be performed either at boot
    1.15 + * time or via this interface, not both. The buffer size must be set before
    1.16 + * enabling tracing.
    1.17   *
    1.18   * @parm xc_handle a handle to an open hypervisor interface
    1.19   * @parm size the size in pages per cpu for the trace buffers