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:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:create_dyn_event

Proto:static int create_dyn_event(int argc, char **argv)

Type:int

Parameter:

TypeParameterName
intargc
char **argv
81  ret = -ENODEV
83  If argv[0][0] == '-' || argv[0][0] == '!' Then Return dyn_event_release(argc, argv, NULL)
86  mutex_lock( & dyn_event_ops_mutex)
88  ret = create(argc, (constchar * * )argv)
89  If Not ret || ret != -ECANCELED Then Break
92  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.
93  If ret == -ECANCELED Then ret = -EINVAL
96  Return ret