aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/Makefile
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-30 22:31:45 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-30 22:31:45 +0100
commitf6556b0d174a6a9d3d855f4ec92c7bf246e1b34c (patch)
tree46e0d9c15164b2c808fc6a0322b8543c0092892f /tools/xentrace/Makefile
parent07237aa4f333c3feeb9e11e172213d2d440af4dd (diff)
downloadxen-f6556b0d174a6a9d3d855f4ec92c7bf246e1b34c.tar.gz
xen-f6556b0d174a6a9d3d855f4ec92c7bf246e1b34c.tar.bz2
xen-f6556b0d174a6a9d3d855f4ec92c7bf246e1b34c.zip
This is a set of changes which allow the tracebuffer functionality to
be enabled and disabled dynamically while the system is running. The existing DOM0_TBUFCONTROL hypercall is used, and three new operations have been added: enable, disable, and set_size. This is to address concerns that use of the trace buffers impacts system performance. The initial value of opt_tbuf_size is set to zero, so that trace buffers remain disabled by default. They can be enabled as they used to be, by adding tbuf_size= to the xen command line at boot time. They can also be turned on and off any time when the system is running. The size of the trace buffer allocation can also be changed dynamically while the system is running. The trace buffers may be completely deallocated by setting the size to zero. No change in buffer size can be done while tracing is enabled; Other Changes made: - Update the constants in tools/xentrace/formats to match those in public/trace.h - libxc functions for enable/disable, get/set size Still left to do: - remove all ifdef's for trace buffers and the 'trace' build option - xm command to do enable/disable trace buffers and get/set size Signed-off-by: Rob Gardner <rob.gardner@hp.com>
Diffstat (limited to 'tools/xentrace/Makefile')
-rw-r--r--tools/xentrace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index b6ae508d85..5c3a77be83 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -14,7 +14,7 @@ CFLAGS += -I $(XEN_LIBXC)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
-BIN = xentrace
+BIN = xentrace tbctl setsize
SCRIPTS = xentrace_format
MAN1 = $(wildcard *.1)
MAN8 = $(wildcard *.8)