Tom Zanussi de40f033d4 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>
2018-12-22 08:21:04 -05:00
..
2018-11-02 11:25:48 -07:00
2018-10-31 08:54:16 -07:00
2018-11-01 10:00:38 +01:00
2018-10-31 08:54:16 -07:00
\n
2018-08-17 09:41:28 -07:00
2018-08-15 10:46:54 -07:00
2017-05-18 10:30:19 -06:00
2018-11-01 11:46:27 -07:00
2018-10-31 08:54:16 -07:00
2018-01-05 18:43:00 +11:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:14 -07:00
2018-07-03 09:20:44 +02:00
2018-09-20 22:01:11 +02:00