Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

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

Type:void

Parameter:

TypeParameterName
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  If trigger_type == trigger_type Then
593  unregistered = true
594  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
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  Break
601  If unregistered && free Then free(ops, data)