diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2018-12-19 22:09:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-02 17:17:11 +0300 |
commit | 3dc763bdb05ea12afafb5af62cf37e88d8f7f6dd (patch) | |
tree | 9927d2cbf7e8d6e99d050ca4fe5b2e980dd3637b /scripts | |
parent | d74f1a1f913b4a1592dec3cc30640ddd9f8aeda4 (diff) | |
download | linux-3dc763bdb05ea12afafb5af62cf37e88d8f7f6dd.tar.xz |
tracing: Use var_refs[] for hist trigger reference checking
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@gmail.com
Acked-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: George Guo <guodongtai@kylinos.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions