Re: [PATCH v3 2/5] tracing: Add "last_func_repeats" to struct trace_array

2021-04-13 Thread Steven Rostedt
On Fri, 9 Apr 2021 21:10:28 +0300 "Yordan Karadzhov (VMware)" wrote: > --- a/kernel/trace/trace.h > +++ b/kernel/trace/trace.h > @@ -262,6 +262,17 @@ struct cond_snapshot { > cond_update_fn_tupdate; > }; > > +/* > + * struct trace_func_repeats - used to keep track of the

[PATCH v3 2/5] tracing: Add "last_func_repeats" to struct trace_array

2021-04-09 Thread Yordan Karadzhov (VMware)
The field is used to keep track of the consecutive (on the same CPU) calls of a single function. This information is needed in order to consolidate the function tracing record in the cases when a single function is called number of times. Signed-off-by: Yordan Karadzhov (VMware) --- kernel/trace