aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xenoprof.h
Commit message (Collapse)AuthorAgeFilesLines
* oprofile: don't pass around redundant, easily derived argumentsJan Beulich2012-03-081-5/+3
| | | | | | | | | | | Passing both a struct vcpu pointer and the corresponding struct domain one is simply pointless, especially when intermediate functions just forward it without themselves making use of the already obtained value. Also constify a few function parameters. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* xenoprof: Use uint64_t explicitly for internal callsGeorge Dunlap2012-01-261-2/+2
| | | | | | | | | | | | | A recent changeset to make XENOPROF_ESCAPE_CODE consistent across 32- and 64-bit builds caused a build failure, because values were passed through functions as "unsigned long". Replace these with uint64_t explicitly. Also remove redundant function prototype from perfmon.c, now that it's in a header file. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Keir Fraser <keir@xen.org>
* force inclusion of xen/config.h through compiler optionJan Beulich2012-01-131-1/+0
| | | | | | | | | | | | | As we expect all source files to include the header as the first thing anyway, stop doing this by repeating the inclusion in each and every source file (and in many headers), but rather enforce this uniformly through the compiler command line. As a first cleanup step, remove the explicit inclusion from all common headers. Further cleanup can be done incrementally. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: Include headers that are actually needed, drop everything else.Christoph Egger2011-05-201-0/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Scattered code arrangement cleanups.Keir Fraser2009-10-071-1/+5
| | | | | | | | - remove redundant declarations - add/move prototypes to headers - move things where they belong to Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Cleanup: Make local functions static and remove unused functions.Keir Fraser2009-09-301-0/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* x86_64: allow more vCPU-s per guestKeir Fraser2009-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Since the shared info layout is fixed, guests are required to use VCPUOP_register_vcpu_info prior to booting any vCPU beyond the traditional limit of 32. MAX_VIRT_CPUS, being an implemetation detail of the hypervisor, is no longer being exposed in the public headers. The tools changes are clearly incomplete (and done only so things would build again), and the current state of the tools (using scalar variables all over the place to represent vCPU bitmaps) very likely doesn't permit booting DomU-s with more than the traditional number of vCPU-s. Testing of the extended functionality was done with Dom0 (96 vCPU-s, as well as 128 vCPU-s out of which the kernel elected - by way of a simple kernel side patch - to use only some, resulting in a sparse bitmap). ia64 changes only to make things build, and build-tested only (and the tools part only as far as the build would go without encountering unrelated problems in the blktap code). Signed-off-by: Jan Beulich <jbeulich@novell.com>
* xenoprof: dom0 hypercall could trigger Xen NULL-pointer accessKeir Fraser2009-01-211-3/+4
| | | | Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
* vmx: Enable Core 2 Duo Performance Counters in HVM guestKeir Fraser2008-01-301-0/+6
| | | | Signed-off-by: Haitao Shan <haitao.shan@intel.com>
* xenoprof: Fix initialisation. Much can be done at boot-time, askfraser@localhost.localdomain2007-07-101-2/+0
| | | | | | indicated by the fact that the low-level functiosn are marked '__init'. Signed-off-by: Keir Fraser <keir@xensource.com>
* Add backtrace support to xenoprof.kfraser@localhost.localdomain2007-06-071-0/+2
| | | | | Signed-off-by: Amitabha Roy <amitabha.roy@gmail.com> Reviewed-by: Jose Renato G Santos <joserenato.santos@hp.com>
* Enable compatibility mode operation for HYPERVISOR_xenoprof_op.Emmanuel Ackaouy2007-01-051-1/+25
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [XENOPROFILE] Make xenoprof arch-generic with dynamic mapping/unmapping xenoprofkfraser@localhost.localdomain2006-11-221-0/+4
| | | | | | | | | | | | | | buffer support and auto translated mode support. renamed xenoprof_get_buffer::buf_maddr, xenoprof_passive::buf_maddr to xenoprof_get_buffer::buf_gmaddr, xenoprof_passive::buf_gmaddr to support auto translated mode. With auto translated mode enabled, it is gmaddr, not maddr. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Simplify the share function. Signed-off-by: Keir Fraser <keir@xensource.com>
* [XENOPROFILE] Replace x86 specific code in xen/common/xenoprof.ckfraser@localhost.localdomain2006-11-221-1/+2
| | | | | | | - replace nmi_ prefix with xenoprof_arch_ prefix - move config_counter to xen/arch/x86/oprofile/xenoprof.c Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Add Xenoprof passive domain supportkaf24@firebug.cl.cam.ac.uk2006-06-271-0/+1
| | | | | | Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com> Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
* Clean up xenoprof code a bit. The main remaining TODO is tokaf24@firebug.cl.cam.ac.uk2006-04-071-7/+9
| | | | | | | clean up the xenoprof hypercall interface. Signed-off-by: Keir Fraser <keir@xensource.com>
* Add xenoprof supportack@kneesa.uk.xensource.com2006-04-061-0/+40
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>