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:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Split symbol and offset.

Proto:int traceprobe_split_symbol_offset(char *symbol, long *offset)

Type:int

Parameter:

TypeParameterName
char *symbol
long *offset
213  If Not offset Then Return -EINVAL
216  tmp = strpbrk - Find the first occurrence of a set of characters*@cs: The string to be searched*@ct: The characters to search for
217  If tmp Then
218  ret = kstrtol - convert a string to a long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign or a minus sign.
219  If ret Then Return ret
221  tmp = '\0'
222  Else offset = 0
225  Return 0
Caller
NameDescribe
traceprobe_update_arg