[PATCH v2 0/5] libtracefs: Update filtering functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>

Add tracefs_function_notrace() to set the functions not to trace.
Create a per instance pthread mutex lock.

Changes since v1:

 - Close the file descriptors on freeing of the instance
 - Close the file descriptors on exec.


Steven Rostedt (VMware) (5):
  libtracefs: Close filter file descriptor on freeing of instance
  libtracefs: Close the filter file descriptor on exec()
  libtracefs: Move most functionality into helper function for
    tracefs_function_filter()
  libtracefs: Add tracefs_function_notrace() API
  libtracefs: Add a pthread_mutex per instance

 Documentation/libtracefs-function-filter.txt |  19 ++-
 include/tracefs-local.h                      |  12 +-
 include/tracefs.h                            |   3 +
 src/tracefs-instance.c                       |  13 ++
 src/tracefs-tools.c                          | 152 ++++++++++++-------
 5 files changed, 138 insertions(+), 61 deletions(-)

-- 
2.29.2




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux