Commit Graph
11 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 0f5ad1e3d0 Add lost record format in xentrace formats file.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-11-09 13:30:16 +00:00
kfraser@localhost.localdomain 5bcff8383d [HVM] XenTrace enhancement for HVM SMP guests.
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-10-18 19:20:36 +01:00
kaf24@firebug.cl.cam.ac.uk 7e273af3ec This patch is mainly a cleanup of vmx related xentrace code. One minor
xentrace bug is fixed. 

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
2006-03-24 10:59:31 +01:00
kaf24@firebug.cl.cam.ac.uk f6556b0d17 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>
2005-10-30 22:31:45 +01:00
adsharma@los-vmm.sc.intel.com 49c72d3066 Tracing hooks for VMX domains
The low level asm instrumentation is needed to get precise TSC counts.
trace=n should have precisely 0 overhead because of this patch.

Signed-off-by: Yunfeng Zhai <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-25 13:27:03 -07:00
bren@br260.wolfson.cam.ac.uk b07ab9a333 bitkeeper revision 1.1278.1.1 (4254b244uWvJejlkGeqN8mp1CLtN5w)
New Xen trace buffer implementation that avoids blocking
interrupts. Add support for trace buffer CPU mask and
event mask. Add support for trace classes. New DOM0 trace
buffer hypercall. Fix 'xentrace' signal handler bug.

Signed-off-by: bin.ren@cl.cam.ac.uk
2005-04-07 04:08:36 +00:00
bren@br260.wolfson.cam.ac.uk a526452266 bitkeeper revision 1.1273.1.1 (4252c7d35i_j5GPb1ONx5tb9t7WG4g)
Revamp xentrace. Clean up Xen scheduler tracings.

Signed-off-by: bin.ren@cl.cam.ac.uk
2005-04-05 17:16:03 +00:00
mwilli2@equilibrium.research.intel-research.net 3af7269ca3 bitkeeper revision 1.1011.3.1 (40e0586fjTiPMS5QT6pzPb5uZe0MMw)
Various xentrace tweaks.  Should perform better now.  May still need more work.
Let me know if you have problems with it.
2004-06-28 17:42:07 +00:00
iap10@tetris.cl.cam.ac.uk ba0805e639 bitkeeper revision 1.911.1.1 (40abd5b2mqoey54uZKqDJrA-dD05Xw)
bandaid for xentrace. Really needs a Xen-visible trace buffer consumer 
index, and a way of kicking the trace deamon...
2004-05-19 21:46:26 +00:00
mwilli2@equilibrium.research.intel-research.net 9b9ca98b6a bitkeeper revision 1.891.1.8 (40a2299bVaCq0t5_5UXpB7OSB1yLKA)
Update xentrace to produce binary output format and xentrace_format to
correctly parse it.
2004-05-12 13:41:47 +00:00
mwilli2@equilibrium.research.intel-research.net c5c7615f28 bitkeeper revision 1.891.3.1 (40a107b0xATyR-Pt7aENgr5O6ydSyA)
Improvements to trace buffer features.
2004-05-11 17:04:48 +00:00