diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-11-22 10:09:28 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-11-22 10:09:28 +0000 |
commit | d41363d448f3edb3d2a463cf3af50d55691dfbc2 (patch) | |
tree | 1e58522f74e514e9c0079849650d4f25e24a99d0 /xen/include/xen/xenoprof.h | |
parent | b77e35477f2176cef15af7673316f31c633aa833 (diff) | |
download | xen-d41363d448f3edb3d2a463cf3af50d55691dfbc2.tar.gz xen-d41363d448f3edb3d2a463cf3af50d55691dfbc2.tar.bz2 xen-d41363d448f3edb3d2a463cf3af50d55691dfbc2.zip |
[XENOPROFILE] Make xenoprof arch-generic with dynamic mapping/unmapping xenoprof
buffer support and auto translated mode support.
renamed xenoprof_get_buffer::buf_maddr, xenoprof_passive::buf_maddr to
xenoprof_get_buffer::buf_gmaddr, xenoprof_passive::buf_gmaddr
to support auto translated mode. With auto translated mode enabled,
it is gmaddr, not maddr.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Simplify the share function.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/xenoprof.h')
-rw-r--r-- | xen/include/xen/xenoprof.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/xen/xenoprof.h b/xen/include/xen/xenoprof.h index c848ed5d08..b9fe9de528 100644 --- a/xen/include/xen/xenoprof.h +++ b/xen/include/xen/xenoprof.h @@ -41,4 +41,8 @@ struct xenoprof { struct domain; void free_xenoprof_pages(struct domain *d); +int do_xenoprof_op(int op, XEN_GUEST_HANDLE(void) arg); + +extern struct domain *xenoprof_primary_profiler; + #endif /* __XEN__XENOPROF_H__ */ |