函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:event_enable_count_trigger

函数原型:static void event_enable_count_trigger(struct event_trigger_data *data, void *rec, struct ring_buffer_event *event)

返回类型:void

参数:

类型参数名称
struct event_trigger_data *data
void *rec
struct ring_buffer_event *event
1264  enable_data等于private_data
1266  如果非count则返回
1270  如果enable恒等于非* 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的值则返回
1273  如果count不等于负1则count自减
1276  event_enable_trigger(data, rec, event)