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

Steven Rostedt rostedt at goodmis.org
Wed Mar 30 13:07:33 AEDT 2022


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>

Thanks,

-- Steve


More information about the Linuxppc-dev mailing list