linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: Sameeruddin shaik <sameeruddin.shaik8@gmail.com>
Subject: [PATCH 0/4] libtracefs: More updates to tracefs_function_filter()
Date: Tue, 30 Mar 2021 14:33:24 -0400	[thread overview]
Message-ID: <20210330183324.709017776@goodmis.org> (raw)

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/20210330005247.397966909@goodmis.org/


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(-)

             reply	other threads:[~2021-03-30 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 18:33 Steven Rostedt [this message]
2021-03-30 18:33 ` [PATCH 1/4] libtracefs: Only allow RESET flag if file is not already opened Steven Rostedt
2021-03-30 18:33 ` [PATCH 2/4] libtracefs: Allow filter be NULL if RESET flag is set Steven Rostedt
2021-03-30 18:33 ` [PATCH 3/4] libtracefs: Allow filter to be NULL if module is set in tracefs_function_filter() Steven Rostedt
2021-03-30 18:33 ` [PATCH 4/4] libtracefs: Add TRACEFS_FL_FUTURE flag for future module filtering Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210330183324.709017776@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=sameeruddin.shaik8@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).