Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hist_trigger_enable

Proto:static int hist_trigger_enable(struct event_trigger_data *data, struct trace_event_file *file)

Type:int

Parameter:

TypeParameterName
struct event_trigger_data *data
struct trace_event_file *file
6025  ret = 0
6027  list_add_tail_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head
6029  pdate_cond_flag - Set or reset the TRIGGER_COND bit*@file: The trace_event_file associated with the event* If an event has triggers and any of those triggers has a filter or* a post_trigger, trigger invocation needs to be deferred until after* the current
6031  If trace_event_trigger_enable_disable(file, 1) < 0 Then
6032  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
6033  pdate_cond_flag - Set or reset the TRIGGER_COND bit*@file: The trace_event_file associated with the event* If an event has triggers and any of those triggers has a filter or* a post_trigger, trigger invocation needs to be deferred until after* the current
6034  ret--
6037  Return ret
Caller
NameDescribe
event_hist_trigger_func