Messages in this thread | | | Date | Fri, 20 Oct 2023 07:05:24 +0200 | From | Greg KH <> | Subject | Re: [PATCH v2 1/1] trace: Move readpos from seq_buf to trace_seq |
| |
On Fri, Oct 20, 2023 at 04:35:45AM +0100, Matthew Wilcox (Oracle) wrote: > To make seq_buf more lightweight as a string buf, move the readpos member > from seq_buf to its container, trace_seq. That puts the responsibility > of maintaining the readpos entirely in the tracing code. If some future > users want to package up the readpos with a seq_buf, we can define a > new struct then. > > Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |