aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xenoprof.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-22 10:09:28 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-22 10:09:28 +0000
commitd41363d448f3edb3d2a463cf3af50d55691dfbc2 (patch)
tree1e58522f74e514e9c0079849650d4f25e24a99d0 /xen/include/xen/xenoprof.h
parentb77e35477f2176cef15af7673316f31c633aa833 (diff)
downloadxen-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.h4
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__ */