函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_probe.c Create Date:2022-07-27 13:53:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Split symbol and offset.

函数原型:int traceprobe_split_symbol_offset(char *symbol, long *offset)

返回类型:int

参数:

类型参数名称
char *symbol
long *offset
213  如果非offset则返回:负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  如果tmp
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  如果ret则返回:ret
221  tmp等于'\0'
222  否则offset等于0
225  返回:0
调用者
名称描述
traceprobe_update_arg
trace_kprobe_create