Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_graph_trace

Proto:static __init int init_graph_trace(void)

Type:int

Parameter:Nothing

1354  max_bytes_for_cpu = snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
1356  If Not gister_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 Then
1357  pr_warn("Warning: could not register graph trace events\n")
1358  Return 1
1361  If Not gister_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 Then
1362  pr_warn("Warning: could not register graph trace events\n")
1363  Return 1
1366  Return gister_tracer - register a tracer with the ftrace system.*@type: the plugin for the tracer* Register a new plugin tracer.