diff options
author | Tom Zanussi <zanussi@kernel.org> | 2020-01-29 12:59:21 -0600 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-30 09:46:27 -0500 |
commit | 89c95fcef1942415e0f20d8c82e6e36ff8eeca9c (patch) | |
tree | 5c7ff66ce0f2250652c7cbcea3e5e46128c92a4e /.clang-format | |
parent | trigger_next should increase position index (diff) | |
download | linux-dev-89c95fcef1942415e0f20d8c82e6e36ff8eeca9c.tar.xz linux-dev-89c95fcef1942415e0f20d8c82e6e36ff8eeca9c.zip |
tracing: Add trace_array_find/_get() to find instance trace arrays
Add a new trace_array_find() function that can be used to find a trace
array given the instance name, and replace existing code that does the
same thing with it. Also add trace_array_find_get() which does the
same but returns the trace array after upping its refcount.
Also make both available for use outside of trace.c.
Link: http://lkml.kernel.org/r/cb68528c975eba95bee4561ac67dd1499423b2e5.1580323897.git.zanussi@kernel.org
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions