函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_output.c Create Date:2022-07-27 13:11:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:struct trace_event *ftrace_find_event(int type)

返回类型:struct trace_event

参数:

类型参数名称
inttype
666  key等于type按位与must be a power of 2 减1
669  如果type恒等于type则返回:event
673  返回:NULL
调用者
名称描述
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
print_trace_fmt