函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_pos - find the position of a string within a command for error careting*@cmd: The tracing command that caused the error*@str: The string to position the caret at within @cmd* Finds the position of the first occurence of @str within @cmd

函数原型:unsigned int err_pos(char *cmd, const char *str)

返回类型:unsigned int

参数:

类型参数名称
char *cmd
const char *str
7105  如果WARN_ON(!strlen - Find the length of a string*@s: The string to be sized)则返回:0
7108  found等于strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for
7109  如果found则返回:foundcmd
7112  返回:0
调用者
名称描述
errpos