aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/trace.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix emacs local variable block to use correct C style variable.David Vrabel2013-02-211-1/+1
| | | | | | | The emacs variable to set the C style from a local variable block is c-file-style, not c-set-style. Signed-off-by: David Vrabel <david.vrabel@citrix.com
* xen: Remove x86_32 build target.Keir Fraser2012-09-121-13/+0
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* x86/hvm/vmx: Trace traps and realmode exitsGeorge Dunlap2011-11-301-0/+4
| | | | | | | | | | | Add some more tracing to vmexits that don't currently have trace information: * VMX realmode emulation * Various VMX traps * Fast-pathed APIC accesses Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Keir Fraser <keir@xen.org>
* hvm, xentrace: Extend HVMTRACE_ND so that a modifier to the basicKeir Fraser2011-04-141-28/+28
| | | | | | event reason can be ORed into the trace record. Signed-off-by: Keir Fraser <keir@xen.org>
* x86/hvm: fix extra size passed to __trace_var()Keir Fraser2010-09-201-1/+1
| | | | | | | While removing the casts on the last arguments to __trace_var() I noticed the bogus addition of 1 here. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Eliminate unnecessary casts from __trace_var() invocationsKeir Fraser2010-09-201-1/+1
| | | | | | This is possible now that its last parameter's type is 'const void *'. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* trace: Trace emulated RDTSC valuesKeir Fraser2010-07-091-0/+1
| | | | Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
* xentrace: trace interrupt windowKeir Fraser2008-12-051-0/+1
| | | | | | | Make a specific interrupt-window trace, with information about why the interrupt in question can't be delivered. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
* xentrace 3/7: Remove vcpu / domain from HVM traces.Keir Fraser2008-09-081-26/+23
| | | | | | | | | This information is now redundant, as it can be determined using runstate changes and lost record changes. This reduces log size for long-running traces by 10-30%. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Signed-off-by: Trolle Selander <trolle.selander@eu.citrix.com>
* xentrace: fix tracing for 64bit guestsKeir Fraser2008-06-091-164/+86
| | | | | | | | | | | | | | | | | | | | Xen tracing some times ago used to put values of type 'long' into the trace buffer. This has changed to uint32_t. Some trace points log virtual addresses, which get cropped to 32bit in this case. There were some inline functions to handle at least PF_XEN and VMEXIT, which caused a lot of code duplication. The attached patch fixes several issues: 1. fix and extend tools/xentrace/formats 2. Fix xentrace_format to handle up to 7 parameters 3. create convenience macros to properly log long values 4. remove the inline functions in hvm/trace.h and replace them by macros 5. Change the CPUID trace to work correctly 6. group HVM trace points enable mechanism I used a similar approach as in PV tracing with bit 8 indicating 64bit pointers. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
* x86: Fix build after xentrace changes.Keir Fraser2008-02-111-15/+18
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xentrace: Remove redundant tb_done_init checks, and add missing ones.Keir Fraser2008-02-111-11/+30
| | | | | | | Hand inspection of gcc -02 output confirms significantly shorter codepaths for inactive (i.e. normal case) tracing. Signed-off-by: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>
* [xen][hvm][tracing] Refine hvm tracingGeorge Dunlap2007-09-211-12/+146
| | | | | | | | | | This patch does two things: * Allows hvm traces to take advantage of the variable-size traces * Adds some hvm functionality This includes tracing actions like clts and lmsw, values of {p,mm}io reads and writes, and making different trace records for hvm domains running in 64-bit mode if the trace record includes a virtual address.
* x86: machine check exception handlingkfraser@localhost.localdomain2007-06-211-0/+1
| | | | | | | | | | Properly handle MCE (connecting the exisiting, but so far unused vendor specific handlers). HVM guests don't own CR4.MCE (and hence can't suppress the exception) anymore, preventing silent machine shutdown. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Missing files from previous changeset.kfraser@localhost.localdomain2007-02-261-0/+44
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>