函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hist_unregister_trigger

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

返回类型:void

参数:

类型参数名称
char *glob
struct event_trigger_ops *ops
struct event_trigger_data *data
struct trace_event_file *file
6093  hist_data等于private_data
6094  struct event_trigger_data * test, * named_data = NULL
6095  bool unregistered = false
6097  lockdep_assert_held( & event_mutex)
6099  如果namenamed_data等于d_named_trigger - Find the common named trigger associated with @name*@name: The name of the set of named triggers to find the common data for* Named triggers are sets of triggers that share a common set of* trigger data
6103  如果trigger_type恒等于ETT_EVENT_HIST
6104  如果非hist_trigger_match(data, test, named_data, false)则继续下一循环
6106  unregistered = true
6107  删除不需要重新初始化的列表项
6108  trace_event_trigger_enable_disable(file, 0)
6109  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
6110  退出
6114  如果unregisteredfreefree(ops, test)
6117  如果enable_timestamps
6118  如果非removeunregisteredtracing_set_time_stamp_abs(tr, false)