diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-04-01 16:07:48 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-04-08 09:22:28 -0400 |
commit | 1e144d73f7295f766568c357448a11eb12868e29 (patch) | |
tree | 70e4f89f9aa6690724b026acfe77df96a5116351 /kernel/compat.c | |
parent | ab105a4fb89496c71c5a0f3222347c506c30feb0 (diff) | |
download | blackbird-op-linux-1e144d73f7295f766568c357448a11eb12868e29.tar.gz blackbird-op-linux-1e144d73f7295f766568c357448a11eb12868e29.zip |
tracing: Add trace_array parameter to create_event_filter()
Pass in the trace_array that represents the instance the filter being
changed is in to create_event_filter(). This will allow for error messages
that happen when writing to the filter can be displayed in the proper
instance "error_log" file.
Note, for calls to create_filter() (that was also modified to support
create_event_filter()), that changes filters that do not exist in a instance
(for perf for example), NULL may be passed in, which means that there will
not be any message to log for that filter.
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions