diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-15 15:09:58 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-15 15:09:58 +0100 |
commit | 0d5ddb880686349ab6c35a283033f2ecc987dd0f (patch) | |
tree | e2cd550b6670d35f247d2cf14a4b1019a6dbafe7 /tools/xentrace/setsize.c | |
parent | 0e3a022f8cfe382c960da254f632eaec4ec6dfcf (diff) | |
download | xen-0d5ddb880686349ab6c35a283033f2ecc987dd0f.tar.gz xen-0d5ddb880686349ab6c35a283033f2ecc987dd0f.tar.bz2 xen-0d5ddb880686349ab6c35a283033f2ecc987dd0f.zip |
The new userland monitoring tool, XenMon.
Signed-off-by: Rob Gardner <rob.gardner@hp.com>
Diffstat (limited to 'tools/xentrace/setsize.c')
-rw-r--r-- | tools/xentrace/setsize.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/xentrace/setsize.c b/tools/xentrace/setsize.c index 0b5311ea57..e13ea173ee 100644 --- a/tools/xentrace/setsize.c +++ b/tools/xentrace/setsize.c @@ -9,9 +9,9 @@ int main(int argc, char * argv[]) int xc_handle = xc_interface_open(); if (xc_tbuf_get_size(xc_handle, &size) != 0) { - perror("Failure to get tbuf info from Xen. Guess size is 0."); - printf("This may mean that tracing is not compiled into xen.\n"); - exit(1); + perror("Failure to get tbuf info from Xen. Guess size is 0"); + printf("This may mean that tracing is not enabled in xen.\n"); + // exit(1); } else printf("Current tbuf size: 0x%x\n", size); @@ -25,9 +25,10 @@ int main(int argc, char * argv[]) perror("set_size Hypercall failure"); exit(1); } + printf("set_size succeeded.\n"); if (xc_tbuf_get_size(xc_handle, &size) != 0) - perror("Failure to get tbuf info from Xen. Guess size is 0."); + perror("Failure to get tbuf info from Xen. Tracing must be enabled first"); else printf("New tbuf size: 0x%x\n", size); |