Re: [PATCH] trace-cmd: Change tracecmd_msg's buf member type to char *

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

 



On Fri, 22 Mar 2019 17:01:05 +0200
Slavomir Kaslev <kaslevs@xxxxxxxxxx> wrote:

> Now that the buffer for protocol V3 messages is always text, it makes sense to
> have it declared as such and drop a few casts.

Is it always text?

When debugging the listener I saw the meta data sent as non text.

 tracecmd_msg_data_send()

Sends the data in binary, not text. Which is what we want.

-- Steve


> 
> Signed-off-by: Slavomir Kaslev <kaslevs@xxxxxxxxxx>
> ---



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

  Powered by Linux