Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_trigger.c Create Date:2022-07-28 12:26:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int save_named_trigger(const char *name, struct event_trigger_data *data)

Type:int

Parameter:

TypeParameterName
const char *name
struct event_trigger_data *data
839  name = kstrdup(name, GFP_KERNEL)
840  If Not name Then Return -ENOMEM
843  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
845  Return 0
Caller
NameDescribe
event_hist_trigger_init
event_hist_trigger_named_init