debuggers.hg

view xen/common/compat/xenoprof.c @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents 44ec075760b6
children
line source
1 /*
2 * compat/xenoprof.c
3 */
5 #include <compat/xenoprof.h>
7 #define COMPAT
9 #define do_xenoprof_op compat_xenoprof_op
11 #define xen_oprof_init xenoprof_init
12 CHECK_oprof_init;
13 #undef xen_oprof_init
15 #define xenoprof_get_buffer compat_oprof_get_buffer
16 #define xenoprof_op_get_buffer compat_oprof_op_get_buffer
17 #define xenoprof_arch_counter compat_oprof_arch_counter
19 #define xen_domid_t domid_t
20 #define compat_domid_t domid_compat_t
21 CHECK_TYPE(domid);
22 #undef compat_domid_t
23 #undef xen_domid_t
25 #define xen_oprof_passive xenoprof_passive
26 CHECK_oprof_passive;
27 #undef xen_oprof_passive
29 #define xenoprof_counter compat_oprof_counter
31 #include "../xenoprof.c"
33 /*
34 * Local variables:
35 * mode: C
36 * c-set-style: "BSD"
37 * c-basic-offset: 4
38 * tab-width: 4
39 * indent-tabs-mode: nil
40 * End:
41 */