libtracefs: New APIS to write/erase 'set_ftrace_filter' and 'set_ftrace_notrace' Inbox

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

 



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.



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

  Powered by Linux