X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fxen%2Finterface%2Fxenoprof.h;fp=include%2Fxen%2Finterface%2Fxenoprof.h;h=a788c36f2b62e5cb298f0d3628e7bb3a359b63e1;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=a0bdd56ac3f159b61d5b8537d5155c6d463ca903;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/xen/interface/xenoprof.h b/include/xen/interface/xenoprof.h index a0bdd56ac..a788c36f2 100644 --- a/include/xen/interface/xenoprof.h +++ b/include/xen/interface/xenoprof.h @@ -28,6 +28,8 @@ #define XENOPROF_disable_virq 11 #define XENOPROF_release_counters 12 #define XENOPROF_shutdown 13 +#define XENOPROF_get_buffer 14 +#define XENOPROF_last_op 14 #define MAX_OPROF_EVENTS 32 #define MAX_OPROF_DOMAINS 25 @@ -56,17 +58,22 @@ typedef struct xenoprof_buf xenoprof_buf_t; DEFINE_XEN_GUEST_HANDLE(xenoprof_buf_t); struct xenoprof_init { - int32_t max_samples; int32_t num_events; int32_t is_primary; - int32_t nbuf; - int32_t bufsize; - uint64_t buf_maddr; char cpu_type[XENOPROF_CPU_TYPE_SIZE]; }; typedef struct xenoprof_init xenoprof_init_t; DEFINE_XEN_GUEST_HANDLE(xenoprof_init_t); +struct xenoprof_get_buffer { + int32_t max_samples; + int32_t nbuf; + int32_t bufsize; + uint64_t buf_maddr; +}; +typedef struct xenoprof_get_buffer xenoprof_get_buffer_t; +DEFINE_XEN_GUEST_HANDLE(xenoprof_get_buffer_t); + struct xenoprof_counter { uint32_t ind; uint64_t count;