mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
tracing: Make trace_define_field_ext() static
commit70b5339cafupstream. 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:b6c7abd1c2("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b444fcc306
commit
ac6e733f81
|
|
@ -155,7 +155,7 @@ int trace_define_field(struct trace_event_call *call, const char *type,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(trace_define_field);
|
||||
|
||||
int trace_define_field_ext(struct trace_event_call *call, const char *type,
|
||||
static int trace_define_field_ext(struct trace_event_call *call, const char *type,
|
||||
const char *name, int offset, int size, int is_signed,
|
||||
int filter_type, int len)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user