Re: [PATCH] trace_seq: Increase the buffer size to almost two pages

2023-12-11 Thread Google
On Mon, 11 Dec 2023 13:28:37 -0500 Steven Rostedt wrote: > On Mon, 11 Dec 2023 21:46:27 +0900 > Masami Hiramatsu (Google) wrote: > > > > > > > By increasing the trace_seq buffer to almost two pages, it can now print > > > out the first line. > > > > > > This also subtracts the rest of the tra

Re: [PATCH] trace_seq: Increase the buffer size to almost two pages

2023-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2023 21:46:27 +0900 Masami Hiramatsu (Google) wrote: > > > > By increasing the trace_seq buffer to almost two pages, it can now print > > out the first line. > > > > This also subtracts the rest of the trace_seq fields from the buffer, so > > that the entire trace_seq is now PAGE

Re: [PATCH] trace_seq: Increase the buffer size to almost two pages

2023-12-11 Thread Google
On Sat, 9 Dec 2023 17:52:20 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > Now that trace_marker can hold more than 1KB string, and can write as much > as the ring buffer can hold, the trace_seq is not big enough to hold > writes: > > ~# a="1234567890" > ~# cnt=4080 > ~#

[PATCH] trace_seq: Increase the buffer size to almost two pages

2023-12-09 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Now that trace_marker can hold more than 1KB string, and can write as much as the ring buffer can hold, the trace_seq is not big enough to hold writes: ~# a="1234567890" ~# cnt=4080 ~# s="" ~# while [ $cnt -gt 10 ]; do ~# s="${s}${a}" ~# cnt=$((cnt-1