Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dyn_event_register

Proto:int dyn_event_register(struct dyn_event_operations *ops)

Type:int

Parameter:

TypeParameterName
struct dyn_event_operations *ops
23  If Not ops || Not create || Not show || Not is_busy || Not free || Not match Then Return -EINVAL
27  Initialization list head
28  mutex_lock( & dyn_event_ops_mutex)
29  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
30  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
31  Return 0
Caller
NameDescribe
init_kprobe_traceMake a tracefs interface for controlling probe points
init_uprobe_traceMake a trace interface for controling probe points
trace_events_hist_init