Re: [PATCH 1/2] trace-cmd: Bump protocol version to v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 3, 2018 at 6:19 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Mon,  3 Dec 2018 18:09:36 +0200
> Slavomir Kaslev <kaslevs@xxxxxxxxxx> wrote:
>
> > This patch bumps trace-cmd protocol to v3 while keeping backward compatibility
> > by falling back to v1.
> >
> > The new protocol works similarly to v2 but allows future extension of commands
> > by saving the command size on the wire and having the client on the other side
> > to only read the bits it understands.
> >
>
> So is this a V3 that is ready for prime time?
>
> That is, you are happy with the protocol and that old code will work
> with the new (as we talked about before).

Yes, I'm happy it. It allows us to add fields to our current commands
in the future and should be backward and forward compatible.

I will resend the vsock patch rebased after those two patches get
reviewed and merged.

--
Slavi




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux