Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:race_parser_get_init - gets the buffer for trace parser

Proto:int trace_parser_get_init(struct trace_parser *parser, int size)

Type:int

Parameter:

TypeParameterName
struct trace_parser *parser
intsize
1390  memset(parser, 0, size of parser )
1392  buffer = Allocation memory
1393  If Not buffer Then Return 1
1396  size = size
1397  Return 0
Caller
NameDescribe
trace_pid_write
ftrace_event_write