From: Steven Rostedt <rostedt@goodmis.org>
To: Alexander Aring <aahringo@redhat.com>
Cc: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>,
linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH] trace-cmd: Do not use instance from trace context
Date: Fri, 29 Jul 2022 20:54:38 -0400 [thread overview]
Message-ID: <20220729205438.7c1932dd@rorschach.local.home> (raw)
In-Reply-To: <CAK-6q+g2q4drxRC=5075Oy2Qh2C1pszF9fC1gRi0O90JJ49YPw@mail.gmail.com>
On Fri, 29 Jul 2022 17:48:08 -0400
Alexander Aring <aahringo@redhat.com> wrote:
> >
> > Bah, I kept getting confused by when to use instance vs ctx->instance,
> > and I guess I messed this one up.
>
> I tested it and it seems to fix the problem..., so if it's not to late:
>
> Tested-by: Alexander Aring <aahringo@redhat.com>
Not too late. I haven't downloaded the patch from patchwork yet (nor my
other patches).
>
> I am not sure what I should expect from the PTP time synchronization
> over IP capable interfaces (it never worked for me) but I need to say
> it is significantly slower than kvm time synchronization with vsock
> and I am using only virtual interfaces. On the agents I get a couple
> of:
Well, kvm time synchronization doesn't do much between the host and
guest. And I'm looking at making it do even less. That's because the
kvm synchronization is just "read the offset and shift of the guest
from the host and do the calculations via the reader (trace-cmd
report or kernelshark)". But the P2P is sending packets back and forth
between the host and guest and trying to figure out the round trip
latency.
>
> CPU 1: 787 events lost
> CPU 5: 3059 events lost
> ...
>
> the result looks to me like garbage too, my lock states do not make
> any sense...(maybe related due the events lost?)
This should be investigated.
>
> However I think we should move this discussion to bugzilla?
>
Sure.
-- Steve
next prev parent reply other threads:[~2022-07-30 0:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 4:01 [PATCH] trace-cmd: Do not use instance from trace context Tzvetomir Stoyanov (VMware)
2022-07-29 20:50 ` Steven Rostedt
2022-07-29 21:48 ` Alexander Aring
2022-07-30 0:54 ` Steven Rostedt [this message]
2022-07-30 0:59 ` Alexander Aring
2022-07-30 4:04 ` Tzvetomir Stoyanov
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=20220729205438.7c1932dd@rorschach.local.home \
--to=rostedt@goodmis.org \
--cc=aahringo@redhat.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=tz.stoyanov@gmail.com \
/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).