linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Vineeth Pillai <vineethrp@google.com>
Cc: linux-trace-devel@vger.kernel.org,
	Joel Fernandes <joel@joelfernandes.org>
Subject: Re: [PATCH] trace-cmd: rework of the pid detection of vcpus
Date: Tue, 24 May 2022 11:53:17 -0400	[thread overview]
Message-ID: <20220524115317.62efeeb0@gandalf.local.home> (raw)
In-Reply-To: <CA+HDTgSV3sHD_59dN=NLa4hY_bD3d4ePOwnwJgCM46SXyCEKJQ@mail.gmail.com>

On Tue, 24 May 2022 11:35:40 -0400
Vineeth Pillai <vineethrp@google.com> wrote:

> On Mon, May 23, 2022 at 9:47 AM Steven Rostedt <rostedt@goodmis.org> wrote:
> >  
> > > I think we should also think about versioning the guest/host protocols  
> >
> > We actually have that. We are currently at version 3. If this becomes too
> > much of an issue, we can always move to v4. But to do that would require a
> > lot more thinking, as I like to support all versions, and I don't want to
> > have a lot of them. Thus, if we need to update to v4. It would likely be a
> > entirely new protocol to fix and extend the issues of v3.
> >  
> Thanks for the details.. Yeah, doesn't make sense to have a version
> change for this.

But there may be other reasons to update to v4 ;-)

> 
> > > Sure, I will have a look at this again and see if/how we can fix this without
> > > touching existing protocol. I was thinking about adding the pid details to
> > > debugfs and then reading it from there. Its not optimal as we would need a
> > > supporting kernel, but it would be accurate if we have kernel support and we
> > > need not rely on trace messages to get the pids.  
> >
> > That would be useful too, in more than just trace-cmd I believe.
> >  
> Posted a patch upstream for exposing pid in debugfs:
> https://www.spinics.net/lists/kvm/msg278146.html

Saw that.

> 
> I shall work on trace-cmd changes as well once the above patch
> is finalized..

Thanks,

-- Steve

  reply	other threads:[~2022-05-24 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04  1:02 [PATCH] trace-cmd: rework of the pid detection of vcpus Vineeth Pillai
2022-05-20 20:08 ` Steven Rostedt
2022-05-23 13:39   ` Vineeth Pillai
2022-05-23 13:47     ` Steven Rostedt
2022-05-24 15:35       ` Vineeth Pillai
2022-05-24 15:53         ` Steven Rostedt [this message]
2022-07-11 19:16 ` Steven Rostedt
2022-07-12 14:17   ` Vineeth Pillai

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=20220524115317.62efeeb0@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=joel@joelfernandes.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=vineethrp@google.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).