Re: [PATCH 6/7] kernel-shark: Check if "trace_seq" was destroyed before using it

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

 





On 14.05.21 г. 16:57, Steven Rostedt wrote:
The trace_seq_destroy() function is only to clean up everything that
trace_seq_init() had done, and the seq is no longer valid, and the user is
free to do whatever they want with it afterward. Like set seq.buffer to
NULL.

This is a perfectly valid use case.

OK, thanks!
Y.




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

  Powered by Linux