Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:33:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hist_unregister_trigger

Proto:static void hist_unregister_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *data, struct trace_event_file *file)

Type:void

Parameter:

TypeParameterName
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  If name Then named_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  If trigger_type == ETT_EVENT_HIST Then
6104  If Not hist_trigger_match(data, test, named_data, false) Then Continue
6106  unregistered = true
6107  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
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  Break
6114  If unregistered && free Then free(ops, test)
6117  If enable_timestamps Then
6118  If Not remove || unregistered Then tracing_set_time_stamp_abs(tr, false)