Linux-Trace-Devel Archive on lore.kernel.org
 help / color / 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, back to index

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

Linux-Trace-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \
		linux-trace-devel@vger.kernel.org
	public-inbox-index linux-trace-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git