On Wed, 24 Feb 2021 09:39:49 +0200 Tzvetomir Stoyanov <tz.stoyanov@xxxxxxxxx> wrote: > > --- Comment #7 from Steven Rostedt (rostedt@xxxxxxxxxxx) --- > > After some discussions on the mailing lists, I found that it is important to > > establish the requirements that I expect of this API. I'm doing it in the > > bugzilla instead of the mailing list (but will also forward this to the > > mailing list), as this is more about the feature request and not about the > > development of it. > > > > The prototype should be: > > > > int tracefs_function_filter(struct tracefs_instance *instance, > > const char * const *filters, > > const char *module, > > boolean reset); > > I think there should be a complementary API for deleting the filters, > may be something like > int tracefs_function_filter_remove(struct tracefs_instance *instance, > const char * > const *filters, > const char *module) > It should be able to remove the filters, configured by the first API > with the same "filters, module" input parameters. Yes, I was going to even mention this, but figured my requirements were long enough ;-) -- Steve