Re: warning: '______f' is static but declared in inline function in <string.h>

From: Steven Rostedt
Date: Mon Jan 15 2018 - 06:48:19 EST


On Sat, 13 Jan 2018 22:03:40 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> -- orig/kernel/trace/Kconfig
> +++ next/kernel/trace/Kconfig
> @@ -355,7 +355,7 @@ config PROFILE_ANNOTATED_BRANCHES
> on if you need to profile the system's use of these macros.
>
> config PROFILE_ALL_BRANCHES
> - bool "Profile all if conditionals"
> + bool "Profile all if conditionals" if !FORTIFY_SOURCE
> select TRACE_BRANCH_PROFILING
> help
> This tracer profiles all branch conditions. Every if ()

I'm fine with this solution.

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve