Commit Graph
42 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 6311dc03da Clean up duplication of 'install' macros in the Makefiles.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 15:57:05 +01:00
kfraser@localhost.localdomain 0512d8f50a Rename two xentrace tools to make it obvious that setmask and setsize are xen related.
Based on a patch from Rob Gardner <rob.gardner@hp.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 13:53:10 +01:00
awilliam@xenbuild.aw 832cc7c654 [IA64] enable xenctx on ia64
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-06-19 13:26:45 -06:00
kaf24@firebug.cl.cam.ac.uk dbb16ea9d1 Fix the tools build:
1. xenctrl.h needs to include stddef.h to define size_t
 2. tbctl is broken -- remove it since xenmon and xentrace
    both automatcially enable tracing now
 3. Fix setsize after xc_tbug interface changes

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-16 13:35:59 +01:00
kaf24@firebug.cl.cam.ac.uk b5fa90ac8e build: Clean up use of .PHONY
* Move .PHONY directives next to targets,
  this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...

Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 17:02:49 +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 d27fbb0061 Move 'debug' build option into the outermost Config.mk file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-03-09 22:31:45 +01:00
kaf24@firebug.cl.cam.ac.uk 326450f67e Clean up the usage of CFLAGS. This is nice for packagers, who would
like to control the base compilation flags from a central place.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2006-03-09 21:17:45 +01:00
kaf24@firebug.cl.cam.ac.uk 620d876900 Two shell commands weren't properly spaced in a makefile.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2006-01-24 12:26:38 +01:00
Ian.Campbell@xensource.com efec87263e Only build xenctx on x86_32 and x86_64.
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
2005-12-23 09:12:41 +00:00
Ian.Campbell@xensource.com 40924689a9 Add support to xenctx for printing stack traces on x86_32 and x86_64.
To support this add xc_translate_foreign_address to libxc. This function
walks page tables and translates virtual addresses using a given domain
and vcpu page table.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
2005-12-22 14:33:19 +00: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
cl349@firebug.cl.cam.ac.uk 60eb663513 Rename libxc => libxenctrl and xc.h => xen/xenctrl.h
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>


--HG--
rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
2005-08-24 23:07:29 +00:00
kaf24@firebug.cl.cam.ac.uk 8ab6a7f5a8 Don't build xenctx by default,a nd fix one error msg. 2005-07-11 09:03:24 +00:00
kaf24@firebug.cl.cam.ac.uk 1c86b5d22b Fix xenctx compilation and support 64 bit.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:01 +00:00
cl349@firebug.cl.cam.ac.uk 519108b9f7 bitkeeper revision 1.1534.1.1 (429399e0oJudIjoFsgWFxNKnCM7qTg)
Nothing but vnet uses libxutil -- move it there.
Makefile, xc.c, setup.py, configure, configure.in, Makefile.in:
  This doesn't use libxutil.
Makefile, Makefile.vnet, Rules.mk:
  Move libxutil into vnet since it's only used there.
Many files:
  mvdir
2005-05-24 21:17:20 +00:00
iap10@freefall.cl.cam.ac.uk 7af13f54d1 bitkeeper revision 1.1306 (42604119SDlzs7R1nEPCLSovtVOJ7A)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-04-15 22:32:57 +00:00
katzj@redhat.com[iap10] 60332d49d6 bitkeeper revision 1.1159.258.95 (42602010v-eE8RbyDMcA8iwS-dRkcg)
[PATCH] [PATCH] Man page path

The FHS has said that manpages go in /usr/share/man instead of /usr/man
since FHS 2.0 which dates back to 1997 or so, if I remember correctly.
Having the makefiles drop things in the right place makes the packages a
little cleaner.

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== tools/xentrace/Makefile 1.24 vs edited =====
2005-04-15 20:12:00 +00:00
kaf24@firebug.cl.cam.ac.uk ab78c96aeb bitkeeper revision 1.1236.1.105 (423fdeaeuXmbQUj74cWh1nItpSKUjw)
Improved cross-compilation support.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 09:00:30 +00:00
doogie@brainfood.com[kaf24] be7913c187 bitkeeper revision 1.1159.270.3 (42330ae8efsd9SdlhNX6EpksrtV6oQ)
[PATCH] add-build.patch

 Add build targets to all makefiles.  Debian does builds as non-root, so
 it's better to do as much as possible before requiring root privs.
Signed-off-by: Adam Heath <doogie@brainfood.com>
2005-03-12 15:29:44 +00:00
cl349@arcadians.cl.cam.ac.uk 8f230701e2 bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)
Build system cleanups.

Signed-off-by: c@pin.lu
2005-01-27 17:09:14 +00:00
kaf24@scramble.cl.cam.ac.uk 2f34aafbb6 bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)
Allow target architecture to be specified by specifying ARCH variable to
root Makefile (e.g, make ARCH=x86_32).
2005-01-27 10:53:38 +00:00
iap10@labyrinth.cl.cam.ac.uk d2f5d53621 bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)
Description: use DESTDIR correctly
Standard makefiles always attempt to install to the root(/).  Setting
DESTDIR is the normal way to install to an alternative location.
Setting prefix has the possibility of breaking programs, as the prefix
may have been embedded inside a compiled binary.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 22:03:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 6b422c28fa bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)
Description: use INSTALL everywhere
Use install(by way of INSTALL variables) to create directories, install
programs, and install data files.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:34:34 +00:00
kaf24@freefall.cl.cam.ac.uk 58f3afdd98 bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)
Clean up public XenLinux header files. Now accessible from userspace as
#include <xen/linux...>
Got rid of the linux-xen-sparse symlink as it's no longer needed.
2004-11-02 09:08:37 +00:00
kaf24@freefall.cl.cam.ac.uk 187a0366b6 bitkeeper revision 1.1159.142.2 (41849fadYlUYMwSy6tcq8Y-Yi8NMZA)
Clean up libxc by allowing direct use of Xen headers from userland:
 #include <xen/...>
2004-10-31 08:17:49 +00:00
kaf24@scramble.cl.cam.ac.uk 87fdd59317 bitkeeper revision 1.1108.33.24 (410e17ceXCIuaFvQA3AD25FUTF_Ohw)
For clarity, all interface header files are in Xen's hypervisor-ifs
directory. This includes the I/O headers and the xend header.
2004-08-02 10:30:38 +00:00
kaf24@scramble.cl.cam.ac.uk b887fccf30 bitkeeper revision 1.1031 (40e1d02b7TWzZP0WaSOhCDygYQPX4w)
Tool cleanups.
2004-06-29 20:25:15 +00:00
mjw@wray-m-3.hpl.hp.com 48e9a9c636 bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)
Restructuring the python code and libs - first stage.
2004-06-29 18:10:39 +00:00
mjw@wray-m-3.hpl.hp.com cbe5948eb7 bitkeeper revision 1.1010.1.14 (40e03b62fW40sc6EpkeVtIAfp2wE-w)
Fix includes.
2004-06-28 15:38:10 +00:00
mjw@wray-m-3.hpl.hp.com 9bdbe09f07 bitkeeper revision 1.1010.1.9 (40dc4078vvvprFxMFMTOULzuaeEQoQ)
Renaming 'xenmgr' to 'xen.xend'.
2004-06-25 15:10:48 +00:00
kaf24@scramble.cl.cam.ac.uk 03907beb68 bitkeeper revision 1.946 (40c73c7805slPvnfEohXfQoiriAESg)
Rename Linux directories and upgrade build system.
2004-06-09 16:36:08 +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 d1d52b264c bitkeeper revision 1.891.1.9 (40a22b5cevMR_plncPduMaGW-P4-Vw)
Fix my silly makefile error.
2004-05-12 13:49:16 +00:00
kaf24@scramble.cl.cam.ac.uk f677efb823 bitkeeper revision 1.856 (4075806dGVuPwXtbZgPbDT2-zKk0gw)
New control-interface functionality for Xenolinux. Also
extended start_info_t to include the event-channel index
for the controller interface.
2004-04-08 16:40:13 +00:00
mwilli2@equilibrium.research.intel-research.net 0513fa4435 bitkeeper revision 1.825.4.4 (40642e05fz6btg5GgvRWGzzhCMs8yA)
Fix xentrace Makefile bug.
2004-03-26 13:20:05 +00:00
kaf24@scramble.cl.cam.ac.uk 52a8efe1a7 bitkeeper revision 1.797 (4055c521Ophk9zIrp59mxPKyKg_0MA)
Makefile:
  Rationalise makefiles by folding dist option into install with a prefined prefix.
2004-03-15 15:00:49 +00:00
kaf24@scramble.cl.cam.ac.uk 0b9d367cf8 bitkeeper revision 1.795 (4054a3055ggg3MJTpSU1-ZFQRfQQ5g)
xend.py, setup.py:
  new file
Many files:
  Rewritten the Xen control daemon in Python, with C extensions for the low-level bits. All our Python libraries now throw exceptions on error rather than returning error codes --- this will require our higher-level scripts to be updated at some point.
2004-03-14 18:23:01 +00:00
mwilli2@equilibrium.research.intel-research.net 578734ab97 bitkeeper revision 1.784 (4050c414tIvxGfQ8IUNIXoAjpoXBVA)
Updated script names and added man pages for all the xentrace tools.
2004-03-11 19:55:00 +00:00
kaf24@scramble.cl.cam.ac.uk f4ea37b207 bitkeeper revision 1.775 (404f3d312IPf2eSF1VGO0WBwqhqeaA)
trace.h:
  new file
Many files:
  Fix compile errors in Xen headers.
2004-03-10 16:07:13 +00:00
kaf24@scramble.cl.cam.ac.uk 2d3a7bd4f9 bitkeeper revision 1.743 (403b37106MV2R0Wr2iE98QHJWFPRMw)
trace.h, dom0_ops.h, trace.c, setup.c, xentrace.c, Makefile:
  Cleanups to new trace code.
2004-02-24 11:35:44 +00:00
mwilli2@equilibrium.research.intel-research.net b882e9ddd5 bitkeeper revision 1.741 (403a3ee3r3VblO5vtoFGItOp9rvEpg)
Add Xen trace buffer and supporting tools.
2004-02-23 17:56:51 +00:00