aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_misc.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-23 15:02:55 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-23 15:02:55 +0100
commitae95fdf65a72c9e66226cb1df49407a1101e129d (patch)
tree3252dc5f49bfd54f33f103de44fe55aafc3baad4 /tools/libxc/xc_misc.c
parentdfeb46aa49a4878a427579a3e0fc5da5e996c85c (diff)
downloadxen-ae95fdf65a72c9e66226cb1df49407a1101e129d.tar.gz
xen-ae95fdf65a72c9e66226cb1df49407a1101e129d.tar.bz2
xen-ae95fdf65a72c9e66226cb1df49407a1101e129d.zip
[TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is the
correct tool to use for hardware perfctr monitoring now. Also remove unused xc_msr MSR accessor functions from libxenctrl. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_misc.c')
-rw-r--r--tools/libxc/xc_misc.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c
index 5a63e9e719..3fc8536a47 100644
--- a/tools/libxc/xc_misc.c
+++ b/tools/libxc/xc_misc.c
@@ -91,40 +91,6 @@ int xc_perfc_control(int xc_handle,
return rc;
}
-long long xc_msr_read(int xc_handle, int cpu_mask, int msr)
-{
- int rc;
- DECLARE_DOM0_OP;
-
- op.cmd = DOM0_MSR;
- op.u.msr.write = 0;
- op.u.msr.msr = msr;
- op.u.msr.cpu_mask = cpu_mask;
-
- rc = do_dom0_op(xc_handle, &op);
-
- return (((unsigned long long)op.u.msr.out2)<<32) | op.u.msr.out1 ;
-}
-
-int xc_msr_write(int xc_handle, int cpu_mask, int msr, unsigned int low,
- unsigned int high)
-{
- int rc;
- DECLARE_DOM0_OP;
-
- op.cmd = DOM0_MSR;
- op.u.msr.write = 1;
- op.u.msr.msr = msr;
- op.u.msr.cpu_mask = cpu_mask;
- op.u.msr.in1 = low;
- op.u.msr.in2 = high;
-
- rc = do_dom0_op(xc_handle, &op);
-
- return rc;
-}
-
-
/*
* Local variables:
* mode: C