函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void update_cond_flag(struct trace_event_file *file)

返回类型:void

参数:

类型参数名称
struct trace_event_file *file
503  bool set_cond = false
505  lockdep_assert_held( & event_mutex)
508  如果filterevent_command_post_trigger(cmd_ops)或event_command_needs_rec(cmd_ops)则
510  set_cond = true
511  退出
515  如果set_cond设置内存位
517  否则lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
调用者
名称描述
register_triggergister_trigger - Generic event_command @reg implementation*@glob: The raw string used to register the trigger*@ops: The trigger ops associated with the trigger*@data: Trigger-specific data to associate with the trigger*@file: The trace_event_file
unregister_triggerregister_trigger - Generic event_command @unreg implementation*@glob: The raw string used to register the trigger*@ops: The trigger ops associated with the trigger*@test: Trigger-specific data used to find the trigger to remove*@file: The trace_event_file
event_enable_register_trigger
event_enable_unregister_trigger
hist_trigger_enable
hist_unregister_trigger
hist_unreg_all
hist_enable_unreg_all