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:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:event_enable_count_trigger

Proto:static void event_enable_count_trigger(struct event_trigger_data *data, void *rec, struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct event_trigger_data *data
void *rec
struct ring_buffer_event *event
1264  enable_data = private_data
1266  If Not count Then Return
1270  If enable == Not (* 32 bit flags: * bit 0: enabled * bit 1: enabled cmd record * bit 2: enable/disable with the soft disable bit * bit 3: soft disabled * bit 4: trigger enabled * Note: The bits must be set atomically to prevent races * from other writers. Reads of flags do & EVENT_FILE_FL_SOFT_DISABLED) Then Return
1273  If count != -1 Then count--
1276  event_enable_trigger(data, rec, event)