diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-06-05 23:26:45 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-06-06 22:22:18 +0300 |
commit | 1d5f0222944fe723b9bfaaeb27e368363644ccab (patch) | |
tree | 6800974f8c87490ac14bedc41a43b802bab6c5a6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d66bb33479e594ba7cf72fa2c0f848e3d0bc9eb1 (diff) | |
download | linux-1d5f0222944fe723b9bfaaeb27e368363644ccab.tar.xz |
ftrace: Declare function_trace_op in header to quiet sparse warning
Sparse complains that function_trace_op is not static but is not declared
in a header file. It is used only in assembly code. But add it to a header
so that sparse no longer complains:
kernel/trace/ftrace.c:99:19: warning: symbol 'function_trace_op' was not declared. Should it be static?
Link: https://lore.kernel.org/linux-trace-kernel/20240605202708.289105647@goodmis.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions