xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Don Slutz <dslutz@verizon.com>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>,
	Tim Deegan <tim@xen.org>
Cc: Keir Fraser <keir@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH v2 0/2] xentrace: Add TRC_HVM_VCHIP (was xentrace: Add TRC_HW_VCHIP).
Date: Tue, 1 Apr 2014 17:01:39 +0100	[thread overview]
Message-ID: <533AE2E3.2060007@eu.citrix.com> (raw)
In-Reply-To: <533AD8BA.3050101@terremark.com>

On 04/01/2014 04:18 PM, Don Slutz wrote:
> On 04/01/14 09:06, George Dunlap wrote:
>> On 03/28/2014 04:56 PM, Don Slutz wrote:
>>> 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:
>>
>> Are you aware of xenalyze?  It's got a lot of advantages over
>> xentrace_format; the most basic of which is that it traces vcpus as
>> they run across pcpus.
>>
>
> I have noticed that it exists.  Not sure it would help with the issue I
> was looking into.
>
> I have determined that I would see:
>
> CPU5  841028423232 (+    3900)  hpet create [ tn = 0, irq = 0, delta =
> 68718266336, period = 1000000 ]
>
> If I had been able to reproduce my issue.

Sure; but if you ever need to track a vcpu as it moves across pcpus, or 
see how the interaction of two vcpus cause an issue that you're seeing, 
xentrace_format isn't going to help you.

Additionally, with xenalyze it's a lot easier to add ad-hoc warnings or 
statistics gathering patches.

>
> Do I need to make a change there also?

If you want to use xenalyze to analyze your traces, it would probably 
make it a lot easier. :-)  (xenalyze will dump records it doesn't 
recognize in a sort of binary format, but that's probably not what you 
want.)

As it's out-of-tree, there's certainly no *requirement* for you to make 
a change there as a follow-up to this series.

  -George

      reply	other threads:[~2014-04-01 16:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 16:56 [PATCH v2 0/2] xentrace: Add TRC_HVM_VCHIP (was xentrace: Add TRC_HW_VCHIP) Don Slutz
2014-03-28 16:56 ` [PATCH v2 1/2] xentrace: Add emacs local variables Don Slutz
2014-04-01  9:16   ` George Dunlap
2014-04-01 21:42     ` Don Slutz
2014-03-28 16:56 ` [PATCH v2 2/2] xentrace: Add TRC_HVM_VCHIP Don Slutz
2014-04-01 13:23   ` George Dunlap
2014-04-01 17:42     ` Don Slutz
2014-04-03 10:36   ` Tim Deegan
2014-04-01 13:06 ` [PATCH v2 0/2] xentrace: Add TRC_HVM_VCHIP (was xentrace: Add TRC_HW_VCHIP) George Dunlap
2014-04-01 15:18   ` Don Slutz
2014-04-01 16:01     ` George Dunlap [this message]

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=533AE2E3.2060007@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=dslutz@verizon.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).