diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-06-05 16:26:49 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-06-06 15:22:18 -0400 |
commit | 0c4d8cbb2ce20df3a72b5b3189d93b5c0cc3e968 (patch) | |
tree | edeea1e0ce98b80f30d8446055219cade1e08946 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 86b49970e071921490ebab3d982d93dd616cd967 (diff) |
function_graph: Make fgraph_do_direct static key static
The static branch key "fgraph_do_direct" was not declared static but is
only used in one file. Change it to a static variable.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Fixes: cc60ee813b503 ("function_graph: Use static_call and branch to optimize entry function")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions