函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trigger_process_regex

函数原型:static int trigger_process_regex(struct trace_event_file *file, char *buff)

返回类型:int

参数:

类型参数名称
struct trace_event_file *file
char *buff
219  next等于buff
221  ret等于负EINVAL
223  command等于分割字符串
224  command等于如果command[0]不等于'!'则command否则command加1
226  mutex_lock( & trigger_cmd_mutex)
228  如果字符串比较恒等于0则
229  ret等于func(p, file, buff, command, next)
230  转到:out_unlock
233  out_unlock :
234  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
236  返回:ret
调用者
名称描述
event_trigger_regex_write