函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:save_named_trigger - save the trigger in the named trigger list*@name: The name of the named trigger set*@data: The trigger data to save* Return: 0 if successful, negative error otherwise.

函数原型:int save_named_trigger(const char *name, struct event_trigger_data *data)

返回类型:int

参数:

类型参数名称
const char *name
struct event_trigger_data *data
839  name等于kstrdup(name, GFP_KERNEL)
840  如果非name则返回:负ENOMEM
843  添加链表项
845  返回:0
调用者
名称描述
event_hist_trigger_init
event_hist_trigger_named_init