commit | 7f6d90239ec8fe7580213f62b9648f634b87cbaf | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Mon Mar 29 20:51:27 2021 -0400 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Mar 30 17:24:36 2021 -0400 |
tree | 94aa1438d544d203c0391645caf7f8b808e395d1 | |
parent | 3a80c27ae04f11f406893eb087f6cee314ff8a04 [diff] |
libtracefs: Move opening of file out of controlled_write() In order to try multiple methods of writing to the filter file, the opening of the filter file needs to be in the tracefs_function_filter() call, and allow that to be passed to multiple ways of writing to the filter. Link: https://lore.kernel.org/linux-trace-devel/20210330005247.820340155@goodmis.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>