Hi list

In the /kernel /events /core.c file there are some functions like:
perf_event_free_filter  https://elixir.bootlin.com/linux/v5.8/A/ident/perf_event_free_filter
perf_tp_register   https://elixir.bootlin.com/linux/v5.8/A/ident/perf_tp_register


Who have an empty body,
I understand that they are inside a conditional created by the preprocessor directives and also that they are called in some parts of the code , but would it really be necessary that when the directive is not true to leave the function with the body empty, would it be a solution? Or is it just missing to eliminate those functions without a body?

very thanks!!.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to