linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libtracefs: New APIS to write/erase 'set_ftrace_filter' and 'set_ftrace_notrace' Inbox
@ 2021-01-28  5:50 Sameeruddin Shaik
  2021-01-28 17:59 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Sameeruddin Shaik @ 2021-01-28  5:50 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt, Tzvetomir Stoyanov (VMware)

hi,
I am working on the below API's
----------------------------------------------------

Add an API to set filtering of functions:

int tracefs_function_filter(struct tracefs_instance *instance, const
char *filter);

Which would write into the set_ftrace_filter file for the instance.

Also have a:

int tracefs_function_notrace(struct tracefs_instance *instance, const
char *filter);

That would write into the set_ftrace_notrace file for the instance.

Have a:

int tracefs_function_filter_clear(struct tracefs_instance *instance);

That clears the set_ftrace_filter file.

and a:

int tracefs_function_notrace_clear(struct tracefs_instance *instance);

That clears the set_ftrace_notrace file.
----------------------------------------------------------

Bugzilla link: https://bugzilla.kernel.org/show_bug.cgi?id=210643

if there is anyone already working on these API's please let me know.

Thanks,

sameer.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libtracefs: New APIS to write/erase 'set_ftrace_filter' and 'set_ftrace_notrace' Inbox
  2021-01-28  5:50 libtracefs: New APIS to write/erase 'set_ftrace_filter' and 'set_ftrace_notrace' Inbox Sameeruddin Shaik
@ 2021-01-28 17:59 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2021-01-28 17:59 UTC (permalink / raw)
  To: Sameeruddin Shaik; +Cc: linux-trace-devel, Tzvetomir Stoyanov (VMware)

On Thu, 28 Jan 2021 11:20:38 +0530
Sameeruddin Shaik <sameeruddin.shaik8@gmail.com> wrote:

> hi,
> I am working on the below API's
> ----------------------------------------------------
> 
> Add an API to set filtering of functions:
> 
> int tracefs_function_filter(struct tracefs_instance *instance, const
> char *filter);
> 
> Which would write into the set_ftrace_filter file for the instance.
> 
> Also have a:
> 
> int tracefs_function_notrace(struct tracefs_instance *instance, const
> char *filter);
> 
> That would write into the set_ftrace_notrace file for the instance.
> 
> Have a:
> 
> int tracefs_function_filter_clear(struct tracefs_instance *instance);
> 
> That clears the set_ftrace_filter file.
> 
> and a:
> 
> int tracefs_function_notrace_clear(struct tracefs_instance *instance);
> 
> That clears the set_ftrace_notrace file.
> ----------------------------------------------------------
> 
> Bugzilla link: https://bugzilla.kernel.org/show_bug.cgi?id=210643
> 
> if there is anyone already working on these API's please let me know.
> 
>

I don't believe anyone is currently working on this APIs. We're happy to
see patches for them coming from you.

-- Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-28 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28  5:50 libtracefs: New APIS to write/erase 'set_ftrace_filter' and 'set_ftrace_notrace' Inbox Sameeruddin Shaik
2021-01-28 17:59 ` Steven Rostedt

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