函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void unregister_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *test, struct trace_event_file *file)

返回类型:void

参数:

类型参数名称
char *glob
struct event_trigger_ops *ops
struct event_trigger_data *test
struct trace_event_file *file
587  bool unregistered = false
589  lockdep_assert_held( & event_mutex)
592  如果trigger_type恒等于trigger_type
593  unregistered = true
594  删除不需要重新初始化的列表项
595  trace_event_trigger_enable_disable(file, 0)
596  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
597  退出
601  如果unregisteredfreefree(ops, data)