Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_output.c Create Date:2022-07-28 12:05:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_search_list

Proto:static int trace_search_list(struct list_head **list)

Type:int

Parameter:

TypeParameterName
struct list_head **list
681  last = __TRACE_LAST_TYPE
683  If list_empty - tests whether a list is empty*@head: the list to test. Then
684  list = ftrace_event_list
685  Return last + 1
693  If type != last + 1 Then Break
695  last++
699  If last + 1 > TRACE_EVENT_TYPE_MAX Then Return 0
702  list = list
703  Return last + 1
Caller
NameDescribe
register_trace_eventgister_trace_event - register output for an event type*@event: the event type to register* Event types are stored in a hash and this hash is used to* find a way to print an event