xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Don Slutz <dslutz@verizon.com>
To: xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>,
	Tim Deegan <tim@xen.org>
Cc: Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Don Slutz <dslutz@verizon.com>
Subject: [PATCH v3 0/2] xentrace: Add TRC_HVM_EMUL (was xentrace: Add TRC_HW_VCHIP or TRC_HVM_VCHIP).
Date: Mon,  7 Apr 2014 18:38:33 -0400	[thread overview]
Message-ID: <1396910315-30865-1-git-send-email-dslutz@verizon.com> (raw)

Changes v2 to v3:
  Tim Deegan:
    #2 "xentrace: Add TRC_HVM_EMUL":
       Reviewed-by
  George Dunlap:
    #1 "Add emacs local variables to all files changed":
       Drop xentrace from subject.
    #2 "xentrace: Add TRC_HVM_EMUL":
        Use TRC_HVM_EMUL instead of TRC_HVM_VCHIP.
        Handle 64 bit correctly.

Note: xentrace_format only supports 64bit output in hex.

Changes v1 to v2:
  Tim Deegan:
    Switch from TRC_HW_VCHIP to TRC_HVM_VCHIP.
    Drop get_cycles()
    Fix coding style issues.
    Drop code that should not have been included.
    Use names not numbers.

Split in 2 patches for simpler review.

Here is a subset of sample output:

CPU3  16608354366030 (+    4152)  pit create [ delta = 0x0000000003461859, period = 0x0000000003461859 ]
CPU6  16640926832754 (+    4464)  hpet create [ tn = 0, irq = 0, delta = 0x00000000000cd150, period = 0x00000000000f4240 ]
CPU5  16642822511400 (+   16458)  vlapic create [ delta = 0x00000009ffffff60 , period = 0x00000009ffffff60, irq = 239 ]
CPU7  16643253002928 (+   16920)  vlapic create [ delta = 0x0000009fffffff60 , period = 0x0000009fffffff60, irq = 239 ]
CPU7  16643253077976 (+   16410)  vlapic create [ delta = 0x00000000000f41a0 , period = 0x00000000000f41a0, irq = 239 ]
CPU0  16643576192019 (+   10665)  vlapic create [ delta = 0x00000013ffffffec , period = 0x0000000000000000, irq = 239 ]
CPU0  16643576242947 (+   10443)  vlapic create [ delta = 0x00000000000f41a0 , period = 0x00000000000f41a0, irq = 239 ]
CPU1  16646772521592 (+   23130)  vlapic create [ delta = 0x000000000005b720 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646772577374 (+   22674)  vlapic create [ delta = 0x0000000000055b40 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646772651612 (+   17190)  vlapic create [ delta = 0x000000004ffffec0 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646772694074 (+   16980)  vlapic create [ delta = 0x000000004ffffec0 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646871198096 (+   36381)  vlapic create [ delta = 0x0000000000039bc0 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646872042662 (+   18360)  vlapic create [ delta = 0x00000000000d6380 , period = 0x0000000000000000, irq = 239 ]
CPU1  16646874292818 (+   19128)  vlapic create [ delta = 0x00000000000e5b00 , period = 0x0000000000000000, irq = 239 ]
CPU6  16646772412644 (+    1710)  hpet create [ tn = 0, irq = 0, delta = 0x0000000ff88fd980, period = 0x0000000000000000 ]
CPU6  16646772522486 (+   23322)  vlapic create [ delta = 0x000000000005a640 , period = 0x0000000000000000, irq = 239 ]
CPU6  16646772578898 (+   23154)  vlapic create [ delta = 0x0000000000054a60 , period = 0x0000000000000000, irq = 239 ]
CPU6  16646773660782 (+   18258)  vlapic create [ delta = 0x00000000000da480 , period = 0x0000000000000000, irq = 239 ]
CPU6  16646776073694 (+   17796)  vlapic create [ delta = 0x00000000000d8e00 , period = 0x0000000000000000, irq = 239 ]
CPU6  16646778473160 (+   17760)  vlapic create [ delta = 0x00000000000d8f40 , period = 0x0000000000000000, irq = 239 ]

Don Slutz (2):
  Add emacs local variables to all files changed.
  xentrace: Add TRC_HVM_EMUL

 tools/xentrace/formats          | 18 ++++++++++++++++++
 xen/arch/x86/hvm/hpet.c         | 16 ++++++++++++++++
 xen/arch/x86/hvm/i8254.c        | 18 ++++++++++++++++++
 xen/arch/x86/hvm/rtc.c          | 18 ++++++++++++++++++
 xen/arch/x86/hvm/vlapic.c       | 28 ++++++++++++++++++++++++++++
 xen/arch/x86/hvm/vpic.c         | 20 ++++++++++++++++++++
 xen/include/asm-x86/hvm/trace.h |  7 +++++++
 xen/include/public/trace.h      | 24 ++++++++++++++++++++++--
 8 files changed, 147 insertions(+), 2 deletions(-)

-- 
1.8.4

             reply	other threads:[~2014-04-07 22:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07 22:38 Don Slutz [this message]
2014-04-07 22:38 ` [PATCH v3 1/2] Add emacs local variables to all files changed Don Slutz
2014-04-08  9:36   ` Jan Beulich
2014-04-08  9:36     ` George Dunlap
2014-04-08  9:37       ` Ian Campbell
2014-04-08  9:52       ` Jan Beulich
2014-04-08  9:52         ` George Dunlap
2014-04-07 22:38 ` [PATCH v3 2/2] xentrace: Add TRC_HVM_EMUL Don Slutz
2014-04-08  9:53   ` George Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396910315-30865-1-git-send-email-dslutz@verizon.com \
    --to=dslutz@verizon.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).