Changes since v1: - tracefs_function_filter() man page was added - Now thread safe with pthread_mutex_lock() - Use of flags instead of reset parameter - Added TRACEFS_FL_CONTINUE flag - Fixed glob or regex test Sameeruddin shaik (2): libtracefs: An API to set the filtering of functions libtracefs: Document function_filter API Steven Rostedt (VMware) (11): libtracefs: Fix notations of tracefs_function_filter() and module parameter libtracefs: Move opening of file out of controlled_write() libtracefs: Add add_errors() helper function for control_write() libtracefs: Add checking of available_filter_functions to tracefs_function_filter() libtracefs: Add write_filter() helper function libtracefs: Allow for setting filters with regex expressions libtracefs: Add indexing to set functions in tracefs_function_filter() libtracefs: Pass in reset via flags to tracefs_function_filter() libtracefs: Add pthread_mutex_lock() around tracefs_function_filter() libtracefs: Move struct tracefs_instance to tracefs-local.h libtracefs: Add CONTINUE to tracefs_function_filter() ---- Documentation/libtracefs-function-filter.txt | 161 ++++++++ include/tracefs-local.h | 7 + include/tracefs.h | 11 + src/tracefs-instance.c | 7 +- src/tracefs-tools.c | 555 ++++++++++++++++++++++++++- 5 files changed, 735 insertions(+), 6 deletions(-) create mode 100644 Documentation/libtracefs-function-filter.txt