<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.pl-en
        {mso-style-name:pl-en;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=ES-CO link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi list<br><br>In the /kernel /events /core.c file there are some functions like:<br><span class=pl-en>perf_event_free_filter  <a href="https://elixir.bootlin.com/linux/v5.8/A/ident/perf_event_free_filter">https://elixir.bootlin.com/linux/v5.8/A/ident/perf_event_free_filter</a></span><br><span class=pl-en>perf_tp_register   <a href="https://elixir.bootlin.com/linux/v5.8/A/ident/perf_tp_register">https://elixir.bootlin.com/linux/v5.8/A/ident/perf_tp_register</a></span> <span class=pl-en><o:p></o:p></span></p><p class=MsoNormal><span class=pl-en><br></span>Who have an empty body,<br>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?<br><br>very thanks!!.<o:p></o:p></p></div></body></html>