aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/xenperf.c
Commit message (Collapse)AuthorAgeFilesLines
* libxc: convert sysctl interfaces over to hypercall buffersIan Campbell2010-10-221-29/+9
| | | | | Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
* libxc: simplify performance counters APIIan Campbell2010-10-181-6/+3
| | | | | | | | Current function has heavily overloaded semantics for the various arguments. Separate out into more specific functions. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxc: eliminate static variables, use xentoollog; API changeKeir Fraser2010-05-281-2/+3
| | | | | | | | | | | | | | | | | | | | This patch eliminate the global variables in libxenctrl (used for logging and error reporting). Instead the information which was in the global variables is now in a new xc_interface* opaque structure, which xc_interface open returns instead of the raw file descriptor; furthermore, logging is done via xentoollog. There are three new parameters to xc_interface_open to control the logging, but existing callers can just pass "0" for all three to get the old behaviour. All libxc callers have been adjusted accordingly. Also update QEMU_TAG for corresponding qemu change. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: Make functions static which should not be exported.Keir Fraser2008-07-151-2/+2
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* tools: replace sprintf with snprintf where applicableKeir Fraser2008-06-121-1/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* xenperf: Fix typo in mlock() invocation.Keir Fraser2007-10-311-1/+1
| | | | Signed-off-by: Stephen Wilson <stephen.wilson@amd.com>
* Xen Security Modules: Tools.kfraser@localhost.localdomain2007-08-311-1/+1
| | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* [XENPERF] Pretty-print hypercall stats.kfraser@localhost.localdomain2006-11-141-23/+105
| | | | | | From: Yoshihiko Yaegashi <y.yaegashi@jp.fujitsu.com> From: Ken Hironaka <kenny@logos.ic.i.u-tokyo.ac.jp> Signed-off-by: Keir Fraser <keir@xensource.com>
* [SOLARIS] Don't mlock() hypercall buffers.kfraser@localhost.localdomain2006-10-231-5/+21
| | | | | | | On solaris mlock requires a page aligned address and mlock doesn't ensure the pages won't minor page fault. Signed-off-by: Mark Johnson <mark.johnson@sun.com>
* Replace dom0_ops hypercall with three new hypercalls:kfraser@localhost.localdomain2006-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | 1. platform_op -- used by dom0 kernel to perform actions on the hardware platform (e.g., MTRR access, microcode update, platform quirks, ...) 2. domctl -- used by management tools to control a specified domain 3. sysctl -- used by management tools for system-wide actions Benefits include more sensible factoring of actions to hypercalls. Also allows tool compatibility to be tracked separately from the dom0 kernel. The assumption is that it will be easier to replace libxenctrl, libxenguest and Xen as a matched set if the dom0 kernel does not need to be replaced too (e.g., because that would require vendor revalidation). From here on we hope to maintain dom0 kernel compatibility. This promise is not extended to tool compatibility beyond the existing guarantee that compatibility will not be broken within a three-level stable release [3.0.2, 3.0.3, etc.]. Signed-off-by: Keir Fraser <keir@xensource.com>
* Change DOM0_PERFCCONTROL: remove array limit.kaf24@firebug.cl.cam.ac.uk2006-08-071-19/+29
| | | | | | | Descriptors and values are passed by two distinct buffers. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* 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
* bitkeeper revision 1.1236.1.84 (423ab8a8Ull_l3xygvrErQi9C35RrQ)kaf24@firebug.cl.cam.ac.uk2005-03-181-7/+22
| | | | | | Don't print unwieldy array/histogram perfcounters by default. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1159.187.48 (41adc6420WlNaaoUkvfgNxl44rpYYg)kaf24@scramble.cl.cam.ac.uk2004-12-011-0/+104
Export Xen s/w perfctrs to DOM0 via new 'xenperf' utility.