aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-01 11:13:22 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-01 11:13:22 +0000
commit7b4d7f59643abd011dabaae680ea08619cdb350b (patch)
tree63c1b35b44d9e53932b7dc8503dbb11a5c97876e /tools/misc
parentbe342af92bb5a82f38149cf0f93d5b787e133fa6 (diff)
downloadxen-7b4d7f59643abd011dabaae680ea08619cdb350b.tar.gz
xen-7b4d7f59643abd011dabaae680ea08619cdb350b.tar.bz2
xen-7b4d7f59643abd011dabaae680ea08619cdb350b.zip
bitkeeper revision 1.759 (40431ad2YWsArtM623Q4wpLgPvrt5A)
xend.c, Makefile: new file Many files: Rename /proc/xeno and /dev/xeno to /proc/xen and /dev/xen. Created a skeleton xend.
Diffstat (limited to 'tools/misc')
-rw-r--r--tools/misc/xen_cpuperf.c7
-rw-r--r--tools/misc/xen_log.c4
2 files changed, 3 insertions, 8 deletions
diff --git a/tools/misc/xen_cpuperf.c b/tools/misc/xen_cpuperf.c
index 8b67f27c85..235ca58a39 100644
--- a/tools/misc/xen_cpuperf.c
+++ b/tools/misc/xen_cpuperf.c
@@ -1,10 +1,5 @@
/*
* User mode program to prod MSR values through /proc/perfcntr
- *
- *
- * $Id$
- *
- * $Log$
*/
#include <sys/types.h>
@@ -217,7 +212,7 @@ int main(int argc, char **argv)
}
}
- if ( (privfd = open("/proc/xeno/privcmd", O_RDWR)) == -1 )
+ if ( (privfd = open("/proc/xen/privcmd", O_RDWR)) == -1 )
{
fprintf(stderr, "Could not open privileged Xen control interface.\n");
exit(1);
diff --git a/tools/misc/xen_log.c b/tools/misc/xen_log.c
index 63bb5afa43..29f7d4c050 100644
--- a/tools/misc/xen_log.c
+++ b/tools/misc/xen_log.c
@@ -155,11 +155,11 @@ int main(int argc, char **argv)
errno = 2;
errexit("daemon");
} else {
- openlog("xenolog", LOG_PID, SYSLOGTO);
+ openlog("xen_log", LOG_PID, SYSLOGTO);
}
break;
case 'h':
- printf("Usage: xenolog [options]\n");
+ printf("Usage: xen_log [options]\n");
printf("Capture and display output of xen domains.\n\n");
printf(" -d Daemonize and send output to syslog.\n");
exit(0);