diff options
author | chongjiapeng <jiapeng.chong@linux.alibaba.com> | 2021-10-19 18:48:54 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-25 22:27:07 -0400 |
commit | 172f7ba9772cae12f099fc563352e905dc9a1921 (patch) | |
tree | 26b3587322979862ecfa0e5f2905ea2f78869c7a /tools/tracing | |
parent | fed240d9c9743815fcbc0ca5c0913292ce1f25e2 (diff) |
ftrace: Make ftrace_profile_pages_init static
This symbol is not used outside of ftrace.c, so marks it static.
Fixes the following sparse warning:
kernel/trace/ftrace.c:579:5: warning: symbol 'ftrace_profile_pages_init'
was not declared. Should it be static?
Link: https://lkml.kernel.org/r/1634640534-18280-1-git-send-email-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: cafb168a1c92 ("tracing: make the function profiler per cpu")
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/tracing')
0 files changed, 0 insertions, 0 deletions