aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenmon
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-02 15:12:06 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-02 15:12:06 +0100
commit2d0922d5159b9855c1420f418318081d607c0df1 (patch)
tree6d84b52be10d50fe6a5d4fd3be7789a8f9f6041a /tools/xenmon
parent6a4be408e4f7be50ce912570883e6d6e9eb2cf53 (diff)
downloadxen-2d0922d5159b9855c1420f418318081d607c0df1.tar.gz
xen-2d0922d5159b9855c1420f418318081d607c0df1.tar.bz2
xen-2d0922d5159b9855c1420f418318081d607c0df1.zip
Move Linux-specific privcmd code into private libxc implementations.
Make header path for kernel's privcmd/evtchn headers generic. Remove pointless xi_*() interface that was using private libxc interfaces. Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/xenmon')
-rw-r--r--tools/xenmon/xenbaked.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/xenmon/xenbaked.c b/tools/xenmon/xenbaked.c
index 41db7def3a..402089c1f7 100644
--- a/tools/xenmon/xenbaked.c
+++ b/tools/xenmon/xenbaked.c
@@ -410,14 +410,13 @@ void get_tbufs(unsigned long *mfn, unsigned long *size)
struct t_buf *map_tbufs(unsigned long tbufs_mfn, unsigned int num,
unsigned long size)
{
- int xc_handle; /* file descriptor for /proc/xen/privcmd */
+ int xc_handle;
struct t_buf *tbufs_mapped;
xc_handle = xc_interface_open();
if ( xc_handle < 0 )
{
- PERROR("Open /proc/xen/privcmd when mapping trace buffers\n");
exit(EXIT_FAILURE);
}