Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:register_wakeup_function

Proto:static int register_wakeup_function(struct trace_array *tr, int graph, int set)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
intgraph
intset
238  If function_enabled || Not set && Not (trace_flags & TRACE_ITER_FUNCTION) Then Return 0
241  If graph Then ret = register_ftrace_graph( & fgraph_wakeup_ops)
243  Else ret = gister_ftrace_function - register a function for profiling*@ops - ops structure that holds the function for profiling
246  If Not ret Then function_enabled = true
249  Return ret
Caller
NameDescribe
wakeup_function_set
start_func_tracer