aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tools/build: Introduce {PREPEND,APPEND}_{LIB,INCLUDES}Roger Pau Monne2011-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Create two new variables called APPEND_ and PREPEND_ to add compile flags at the beginning or at the end of the search path. Added a new semantic for user defined compile flags, here is the list of possible options: PREPEND_LIB: add libraries to the search path before xen (before xen installation folders). PREPEND_INCLUDES: add headers to the search path before xen (before xen installation folders). APPEND_LIB: add libraries to the search path at the end (after all xen installation folders have been added). APPEND_INCLUDES: add libraries to the search path at the end (after all xen installation folders have been added). EXTRA_INCLUDES and EXTRA_LIB can still be used, and they will have the same effect as PREPEND_INCLUDES and PREPEND_LIB. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: remove pattern matched linking rulesIan Campbell2011-03-311-18/+7
| | | | | | | | | Most subdirs only build a single tool to start with and those which build multiple tools often have different linkage requirements. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: Remove $(CFLAGS) from links lines.Ian Campbell2011-03-311-6/+6
| | | | | | | | The relevant variable in these circumstances is called $(LDFLAGS). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* split LDLIBS from LDFLAGS to fix link errors in recent toolchainsStefano Stabellini2010-08-111-3/+3
| | | | | | | | | | | | | | | | Linker command lines are order-sensitive. Move linker options -Lfoo -lfoo from LDFLAGS to LDLIBS and place this new variable after the objects to link. This resolves build errors in xenpagin and blktap with recent toolchains. rename SHLIB_CFLAGS to SHLIB_LDFLAGS rename LDFLAGS_* to LDLIBS_* move LDFLAGS usage after CFLAGS in CC calls remove stale comments in xenpaging Makefile Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xentrace: install scripts with python install wrapperKeir Fraser2010-05-151-1/+2
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Use -MMD -MF in tools/* rather than -Wp,-M...Keir Fraser2009-01-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | If you use -MMD -MF then the correct .o filename is written to the .*.d file as the compiler driver arranges everything. This was done in 19010:275abe1c5d24 for the hypervisor. In this patch we do the same elsewhere in the xen-unstable tree, particularly tools/. Specifically: * Change tools/Rules.mk to add -MMD -MF ... to CFLAGS and set DEPS. * Remove -Wp,-MD... from every other Makefile * Remove setting of DEPS from every other Makefile * Ensure that every Makefile says -include $(DEPS) * Ensure that every Makefile's clean target removes $(DEPS) Some Makefiles were already halfway there, but often for a different variable name eg PROG_DEP. The variable name is now standardised in Rules.mk as DEPS. I have done a test build with this change, on Debian etch. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Define CFLAGS and LDFLAGS for libxenctrl.Keir Fraser2008-01-271-5/+4
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add PRIVATE_BINDIR. Use it.Keir Fraser2008-01-261-2/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Move generation of public header hierarchy into the tools.Keir Fraser2008-01-261-0/+1
| | | | | | | This patch merges the two versions of public header generation currently used in the build into one. Signed-off-by: Bastian Blank <waldi@debian.org>
* Add MANDIR, MAN1DIR and MAN8DIR. Use it.Keir Fraser2008-01-221-6/+4
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add BINDIR. Use it.Keir Fraser2008-01-221-2/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Apply PREFIX directly to LIBDIR.Keir Fraser2008-01-221-3/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* tools: LDFLAGS in link linesKeir Fraser2008-01-171-2/+2
| | | | | | | LDFLAGS is not honoured by a couple of link lines in tools/*, but should be. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* [TOOLS] Provide common LFS CFLAGS/LDFLAGS additions in Rules.mk.kfraser@localhost.localdomain2006-11-171-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up duplication of 'install' macros in the Makefiles.kfraser@localhost.localdomain2006-10-171-5/+0
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Rename two xentrace tools to make it obvious that setmask and setsize are ↵kfraser@localhost.localdomain2006-08-161-1/+3
| | | | | | | | | xen related. Based on a patch from Rob Gardner <rob.gardner@hp.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [IA64] enable xenctx on ia64awilliam@xenbuild.aw2006-06-191-0/+4
| | | | | | Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* Fix the tools build:kaf24@firebug.cl.cam.ac.uk2006-05-161-1/+1
| | | | | | | | | | 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>
* build: Clean up use of .PHONYkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+5
| | | | | | | | | | | | * 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>
* This patch is mainly a cleanup of vmx related xentrace code. One minorkaf24@firebug.cl.cam.ac.uk2006-03-241-1/+1
| | | | | | | | | xentrace bug is fixed. Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com> Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
* Move 'debug' build option into the outermost Config.mk file.kaf24@firebug.cl.cam.ac.uk2006-03-091-1/+1
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up the usage of CFLAGS. This is nice for packagers, who wouldkaf24@firebug.cl.cam.ac.uk2006-03-091-1/+1
| | | | | | | | like to control the base compilation flags from a central place. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* Two shell commands weren't properly spaced in a makefile.kaf24@firebug.cl.cam.ac.uk2006-01-241-2/+2
| | | | | | Signed-off-by: Jan Beulich <JBeulich@novell.com>
* Only build xenctx on x86_32 and x86_64.Ian.Campbell@xensource.com2005-12-231-3/+11
| | | | | Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
* Add support to xenctx for printing stack traces on x86_32 and x86_64.Ian.Campbell@xensource.com2005-12-221-2/+6
| | | | | | | | | 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>
* This is a set of changes which allow the tracebuffer functionality tokaf24@firebug.cl.cam.ac.uk2005-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-241-1/+1
| | | | | | | | | 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
* Don't build xenctx by default,a nd fix one error msg.kaf24@firebug.cl.cam.ac.uk2005-07-111-1/+1
|
* Fix xenctx compilation and support 64 bit.kaf24@firebug.cl.cam.ac.uk2005-07-111-1/+1
| | | | | Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1534.1.1 (429399e0oJudIjoFsgWFxNKnCM7qTg)cl349@firebug.cl.cam.ac.uk2005-05-241-2/+1
| | | | | | | | | | | 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
* bitkeeper revision 1.1306 (42604119SDlzs7R1nEPCLSovtVOJ7A)iap10@freefall.cl.cam.ac.uk2005-04-151-6/+6
|\ | | | | | | | | | | 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
| * bitkeeper revision 1.1159.258.95 (42602010v-eE8RbyDMcA8iwS-dRkcg)katzj@redhat.com[iap10]2005-04-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [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 =====
* | bitkeeper revision 1.1236.1.105 (423fdeaeuXmbQUj74cWh1nItpSKUjw)kaf24@firebug.cl.cam.ac.uk2005-03-221-1/+0
|/ | | | | | Improved cross-compilation support. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1159.270.3 (42330ae8efsd9SdlhNX6EpksrtV6oQ)doogie@brainfood.com[kaf24]2005-03-121-2/+3
| | | | | | | | | [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>
* bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)cl349@arcadians.cl.cam.ac.uk2005-01-271-3/+5
| | | | | | | Build system cleanups. Signed-off-by: c@pin.lu
* bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)kaf24@scramble.cl.cam.ac.uk2005-01-271-2/+2
| | | | | | Allow target architecture to be specified by specifying ARCH variable to root Makefile (e.g, make ARCH=x86_32).
* bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)iap10@labyrinth.cl.cam.ac.uk2005-01-221-6/+6
| | | | | | | | | | | | | 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
* bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)iap10@labyrinth.cl.cam.ac.uk2005-01-221-6/+10
| | | | | | | | | | | 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
* bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)kaf24@freefall.cl.cam.ac.uk2004-11-021-1/+0
| | | | | | | 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.
* bitkeeper revision 1.1159.142.2 (41849fadYlUYMwSy6tcq8Y-Yi8NMZA)kaf24@freefall.cl.cam.ac.uk2004-10-311-1/+0
| | | | | | Clean up libxc by allowing direct use of Xen headers from userland: #include <xen/...>
* bitkeeper revision 1.1108.33.24 (410e17ceXCIuaFvQA3AD25FUTF_Ohw)kaf24@scramble.cl.cam.ac.uk2004-08-021-1/+0
| | | | | | For clarity, all interface header files are in Xen's hypervisor-ifs directory. This includes the I/O headers and the xend header.
* bitkeeper revision 1.1031 (40e1d02b7TWzZP0WaSOhCDygYQPX4w)kaf24@scramble.cl.cam.ac.uk2004-06-291-2/+2
| | | | | Tool cleanups.
* bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)mjw@wray-m-3.hpl.hp.com2004-06-291-5/+11
| | | | | Restructuring the python code and libs - first stage.
* bitkeeper revision 1.1010.1.14 (40e03b62fW40sc6EpkeVtIAfp2wE-w)mjw@wray-m-3.hpl.hp.com2004-06-281-0/+1
| | | | | Fix includes.
* bitkeeper revision 1.1010.1.9 (40dc4078vvvprFxMFMTOULzuaeEQoQ)mjw@wray-m-3.hpl.hp.com2004-06-251-1/+1
| | | | | Renaming 'xenmgr' to 'xen.xend'.
* bitkeeper revision 1.946 (40c73c7805slPvnfEohXfQoiriAESg)kaf24@scramble.cl.cam.ac.uk2004-06-091-1/+1
| | | | | Rename Linux directories and upgrade build system.
* bitkeeper revision 1.911.1.1 (40abd5b2mqoey54uZKqDJrA-dD05Xw)iap10@tetris.cl.cam.ac.uk2004-05-191-1/+1
| | | | | | bandaid for xentrace. Really needs a Xen-visible trace buffer consumer index, and a way of kicking the trace deamon...
* bitkeeper revision 1.891.1.9 (40a22b5cevMR_plncPduMaGW-P4-Vw)mwilli2@equilibrium.research.intel-research.net2004-05-121-1/+1
| | | | | Fix my silly makefile error.
* bitkeeper revision 1.856 (4075806dGVuPwXtbZgPbDT2-zKk0gw)kaf24@scramble.cl.cam.ac.uk2004-04-081-0/+1
| | | | | | | New control-interface functionality for Xenolinux. Also extended start_info_t to include the event-channel index for the controller interface.