[PATCH v2] ftrace: Make ftrace_graph_is_dead() a static branch

Christophe Leroy christophe.leroy at csgroup.eu
Wed Mar 30 17:55:26 AEDT 2022



Le 30/03/2022 à 04:07, Steven Rostedt a écrit :
> On Fri, 25 Mar 2022 09:03:08 +0100
> Christophe Leroy <christophe.leroy at csgroup.eu> wrote:
> 
>> --- a/kernel/trace/fgraph.c
>> +++ b/kernel/trace/fgraph.c
>> @@ -10,6 +10,7 @@
>>   #include <linux/suspend.h>
>>   #include <linux/ftrace.h>
>>   #include <linux/slab.h>
>> +#include <linux/jump_label.h>
>>   
> 
> Small nit. Please order the includes in "upside-down x-mas tree" fashion:
> 
> #include <linux/jump_label.h>
> #include <linux/suspend.h>
> #include <linux/ftrace.h>
> #include <linux/slab.h>
> 

That's the first time I get such a request. Usually people request 
#includes to be in alphabetical order so when I see a file that has 
headers in alphabetical order I try to not break it, but here that was 
not the case so I put it at the end of the list.

I'll send v3

Thanks
Christophe


More information about the Linuxppc-dev mailing list