Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__parse_imm_string

Proto:static int __parse_imm_string(char *str, char **pbuf, int offs)

Type:int

Parameter:

TypeParameterName
char *str
char **pbuf
intoffs
342  len = strlen - Find the length of a string*@s: The string to be sized
344  If str[len - 1] != '"' Then
345  trace_probe_log_err(offs + len, IMMSTR_NO_CLOSE)
346  Return -EINVAL
348  pbuf = kstrndup(str, len - 1, GFP_KERNEL)
349  Return 0
Caller
NameDescribe
parse_probe_argRecursive argument parser