Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:race_find_event - find a registered event*@type: the type of event to look for* Returns an event of type @type otherwise NULL* Called with trace_event_read_lock() held.

Proto:struct trace_event *ftrace_find_event(int type)

Type:struct trace_event

Parameter:

TypeParameterName
inttype
666  key = type & must be a power of 2 - 1
669  If type == type Then Return event
673  Return NULL
Caller
NameDescribe
print_raw_fmt
print_hex_fmt
print_bin_fmt
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
print_graph_comment