libtracefs: More updates to tracefs_function_filter()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libtracefs: Only allow RESET flag if file is not already openedDocumentation/ src/ | +25 | 0 replies | |
| 2/4 | libtracefs: Allow filter be NULL if RESET flag is setDocumentation/ src/ | +31 | 0 replies | |
| 3/4 | libtracefs: Allow filter to be NULL if module is set in tracefs_function_filter()Documentation/ src/ | +7 | 0 replies | |
| 4/4 | libtracefs: Add TRACEFS_FL_FUTURE flag for future module filteringDocumentation/ include/ src/ | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] libtracefs: More updates to tracefs_function_filter()
Allow filter to be NULL when RESET flag is set, or to commit an already opened filter.
Also add a "FUTURE" flag to match modules that have yet to be loaded. Starting in Linux v4.13, module functions can be added to the filter file before the module is loaded (and does not have any matching function). If the FUTURE flag is set, it will write the filter directly, and this only works for globs or direct function names.
This patch set is based on top of:
https://patchwork.kernel.org/project/linux-trace-devel/list/?series=457711
https://lore.kernel.org/linux-trace-devel/[email protected]/
Steven Rostedt (VMware) (4):
libtracefs: Only allow RESET flag if file is not already opened
libtracefs: Allow filter be NULL if RESET flag is set
libtracefs: Allow filter to be NULL if module is set in tracefs_function_filter()
libtracefs: Add TRACEFS_FL_FUTURE flag for future module filtering
----
Documentation/libtracefs-function-filter.txt | 52 +++++++++++++---- include/tracefs.h | 3 + src/tracefs-tools.c | 83 ++++++++++++++++++++++++---- 3 files changed, 114 insertions(+), 24 deletions(-)