Skip to content

Commit 70b5339

Browse files
committed
tracing: Make trace_define_field_ext() static
trace_define_field_ext() is not used outside of trace_events.c, it should be static. Link: https://lore.kernel.org/oe-kbuild-all/202302130750.679RaRog-lkp@intel.com/ Fixes: b6c7abd ("tracing: Fix TASK_COMM_LEN in trace event format file") Reported-by: Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent b6c7abd commit 70b5339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ int trace_define_field(struct trace_event_call *call, const char *type,
155155
}
156156
EXPORT_SYMBOL_GPL(trace_define_field);
157157

158-
int trace_define_field_ext(struct trace_event_call *call, const char *type,
158+
static int trace_define_field_ext(struct trace_event_call *call, const char *type,
159159
const char *name, int offset, int size, int is_signed,
160160
int filter_type, int len)
161161
{

0 commit comments

Comments
 (0)