diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2018-12-18 14:33:23 -0600 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-12-22 08:21:04 -0500 |
commit | de40f033d4e84e843d6a12266e3869015ea9097c (patch) | |
tree | c5f87d360c14c882ca02a557b0ae86852bd48fe2 /tools/perf/scripts/python/stackcollapse.py | |
parent | e4f6d245031e04bdd12db390298acec0474a1a46 (diff) |
tracing: Remove open-coding of hist trigger var_ref management
Have create_var_ref() manage the hist trigger's var_ref list, rather
than having similar code doing it in multiple places. This cleans up
the code and makes sure var_refs are always accounted properly.
Also, document the var_ref-related functions to make what their
purpose clearer.
Link: http://lkml.kernel.org/r/05ddae93ff514e66fc03897d6665231892939913.1545161087.git.tom.zanussi@linux.intel.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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions