aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xenoprof.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
commitaf78c0b35d00dac353936ad6f8afc7f01f91c6d2 (patch)
treeecc92aaab03a47ed5433e94f233de4413f684c46 /xen/include/xen/xenoprof.h
parent636eaa12d90b7151f454ec45dd47679292ece9ab (diff)
downloadxen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.gz
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.bz2
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.zip
Scattered code arrangement cleanups.
- remove redundant declarations - add/move prototypes to headers - move things where they belong to Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/include/xen/xenoprof.h')
-rw-r--r--xen/include/xen/xenoprof.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/xen/include/xen/xenoprof.h b/xen/include/xen/xenoprof.h
index 9d760eb59a..5b38e614da 100644
--- a/xen/include/xen/xenoprof.h
+++ b/xen/include/xen/xenoprof.h
@@ -64,10 +64,10 @@ struct xenoprof {
#endif
struct domain;
+int is_active(struct domain *d);
int is_passive(struct domain *d);
void free_xenoprof_pages(struct domain *d);
-int do_xenoprof_op(int op, XEN_GUEST_HANDLE(void) arg);
int xenoprof_add_trace(struct domain *d, struct vcpu *v,
unsigned long eip, int mode);
@@ -77,4 +77,8 @@ int xenoprof_add_trace(struct domain *d, struct vcpu *v,
int acquire_pmu_ownship(int pmu_ownership);
void release_pmu_ownship(int pmu_ownership);
+void xenoprof_log_event(struct vcpu *vcpu,
+ struct cpu_user_regs * regs, unsigned long eip,
+ int mode, int event);
+
#endif /* __XEN__XENOPROF_H__ */