Re: [PATCH 4.19.y v4 2/2] tracing: Use var_refs[] for hist trigger reference checking

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

 



On Fri, Apr 12, 2024 at 05:30:41PM +0800, George Guo wrote:
> From: Tom Zanussi <tzanussi@xxxxxxxxx>
> 
> commit e4f6d245031e04bdd12db390298acec0474a1a46 upstream.
> 
> Since all the variable reference hist_fields are collected into
> hist_data->var_refs[] array, there's no need to go through all the
> fields looking for them, or in separate arrays like synth_var_refs[],
> which will be going away soon anyway.
> 
> This also allows us to get rid of some unnecessary code and functions
> currently used for the same purpose.
> 
> Link: http://lkml.kernel.org/r/1545246556.4239.7.camel@xxxxxxxxx
> 
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> Reviewed-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>
> Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> ---
>  kernel/trace/trace_events_hist.c | 68 ++++++--------------------------
>  1 file changed, 11 insertions(+), 57 deletions(-)

Again, you also need to sign off on this.

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux